aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/server/README.md
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-12-12 12:42:23 +0800
committerGitHub <noreply@github.com>2024-12-12 12:42:23 +0800
commite8ffb414c424a59523f94db5e8aba86b723b5b7e (patch)
treea3d2d4319d4a756a4b600b92b1ef76e699632414 /mcp/server/README.md
parent3584b5c31f4f1f1baa1c350fa46a18752f8bf7c4 (diff)
downloadllm-functions-docker-e8ffb414c424a59523f94db5e8aba86b723b5b7e.tar.gz
feat(mcp-server): support env var `AGENT_TOOLS_ONLY` (#145)
Diffstat (limited to 'mcp/server/README.md')
-rw-r--r--mcp/server/README.md14
1 files changed, 9 insertions, 5 deletions
diff --git a/mcp/server/README.md b/mcp/server/README.md
index f2bda68..3881ca2 100644
--- a/mcp/server/README.md
+++ b/mcp/server/README.md
@@ -8,10 +8,10 @@ Let LLM-functions tools/agents be used through the Model Context Protocol.
{
"mcpServers": {
"tools": {
- "command": "node",
+ "command": "npx",
"args": [
- "<path-to-llm-functions>/mcp/server/index.js",
- "<path-to-llm-functions>"
+ "mcp-llm-functions",
+ "<llm-functions-dir>"
]
}
}
@@ -26,11 +26,15 @@ Let LLM-functions tools/agents be used through the Model Context Protocol.
"<agent-name>": {
"command": "node",
"args": [
- "<path-to-llm-functions>/mcp/server/index.js",
- "<path-to-llm-functions>",
+ "mcp-llm-functions",
+ "<llm-functions-dir>"
"<agent-name>",
]
}
}
}
```
+
+## Environment Variables
+
+- `AGENT_TOOLS_ONLY`: Set to `true` or `1` to ignore shared tools and display only agent tools. \ No newline at end of file