mirror of
https://github.com/run-llama/mcp-server-llamacloud.git
synced 2026-06-30 20:47:54 -04:00
chore: Update packages and set "Default" project as default
This commit is contained in:
committed by
Marcus Schiesser
parent
fedce35a94
commit
6ba4c5c650
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@llamaindex/mcp-server-llamacloud": patch
|
||||
---
|
||||
|
||||
Update packages and set "Default" project as default
|
||||
@@ -18,6 +18,8 @@ This is a TypeScript-based MCP server that creates multiple tools, each connecte
|
||||
|
||||
To use with your MCP Client (e.g. Claude Desktop, Windsurf or Cursor), add the following config to your MCP client config:
|
||||
|
||||
The `LLAMA_CLOUD_PROJECT_NAME` environment variable is optional and defaults to `Default` if not set.
|
||||
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
@@ -36,7 +38,6 @@ To use with your MCP Client (e.g. Claude Desktop, Windsurf or Cursor), add the f
|
||||
"10k SEC documents from 2023 for Apple"
|
||||
],
|
||||
"env": {
|
||||
"LLAMA_CLOUD_PROJECT_NAME": "<YOUR_PROJECT_NAME>",
|
||||
"LLAMA_CLOUD_API_KEY": "<YOUR_API_KEY>"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+449
-610
File diff suppressed because it is too large
Load Diff
+11
-11
@@ -23,19 +23,19 @@
|
||||
"new-version": "changeset version && npm run format:write && npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.7.0",
|
||||
"llamaindex": "^0.9.11"
|
||||
"@modelcontextprotocol/sdk": "^1.13.1",
|
||||
"llamaindex": "^0.11.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@changesets/cli": "^2.28.1",
|
||||
"@eslint/js": "^9.22.0",
|
||||
"@types/node": "^22.9.3",
|
||||
"eslint": "^9.22.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"globals": "^15.12.0",
|
||||
"prettier": "^3.4.2",
|
||||
"@changesets/cli": "^2.29.5",
|
||||
"@eslint/js": "^9.29.0",
|
||||
"@types/node": "^24.0.3",
|
||||
"eslint": "^9.29.0",
|
||||
"eslint-config-prettier": "^10.1.5",
|
||||
"globals": "^16.2.0",
|
||||
"prettier": "^3.6.0",
|
||||
"prettier-plugin-organize-imports": "^4.1.0",
|
||||
"typescript": "^5.6.2",
|
||||
"typescript-eslint": "^8.18.0"
|
||||
"typescript": "^5.8.3",
|
||||
"typescript-eslint": "^8.35.0"
|
||||
}
|
||||
}
|
||||
|
||||
+1
-5
@@ -92,11 +92,7 @@ const server = new Server(
|
||||
);
|
||||
|
||||
// Get the project name and API key from environment variables
|
||||
const projectName =
|
||||
process.env.LLAMA_CLOUD_PROJECT_NAME ||
|
||||
(() => {
|
||||
throw new Error("LLAMA_CLOUD_PROJECT_NAME is not set");
|
||||
})();
|
||||
const projectName = process.env.LLAMA_CLOUD_PROJECT_NAME || "Default";
|
||||
const apiKey =
|
||||
process.env.LLAMA_CLOUD_API_KEY ||
|
||||
(() => {
|
||||
|
||||
Reference in New Issue
Block a user