Skip to content

Commit

Permalink
Merge pull request #2 from syucream/fix/client-module
Browse files Browse the repository at this point in the history
Update package versions to 0.0.5 and 0.0.4, adjust dependencies, and …
  • Loading branch information
syucream authored Jan 5, 2025
2 parents 50bf1a0 + 2c685ad commit 1d14692
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@syucream/lightdash-mcp-server",
"version": "0.0.4",
"version": "0.0.5",
"description": "A MCP(Model Context Protocol) server that accesses to lightdash( https://www.lightdash.com/ )",
"main": "dist/index.js",
"type": "module",
Expand Down Expand Up @@ -44,7 +44,7 @@
"homepage": "https://github.com/syucream/lightdash-mcp-server#readme",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.4",
"@syucream/lightdash-client-typescript-fetch": "^0.0.2-202501050102",
"@syucream/lightdash-client-typescript-fetch": "^0.0.3-202501050320",
"@types/express": "^5.0.0",
"@types/node": "^22.10.3",
"dotenv": "^16.4.7",
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
switch (request.params.name) {
case 'list_projects': {
const { data, error } = await lightdashClient.GET(
'/api/v1/org/projects'
'/api/v1/org/projects',
{}
);
if (error) {
throw new Error(
Expand Down

0 comments on commit 1d14692

Please # to comment.