aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/server/README.md
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-12-11 08:42:16 +0800
committerGitHub <noreply@github.com>2024-12-11 08:42:16 +0800
commitc58abcbaf89f27e5e3806f4309880a1eac2b7095 (patch)
treeae85083bc61e19a136017458a157c76cd58ce2cc /mcp/server/README.md
parent7ff2af8959f1e55b4fc815be59f01666a7b40ace (diff)
parentbc50fd23f18c3ed6b47e9a525c9e592bb88ea2e0 (diff)
downloadllm-functions-docker-c58abcbaf89f27e5e3806f4309880a1eac2b7095.tar.gz
Merge pull request #139 from sigoden/feat-mcp-server
Diffstat (limited to 'mcp/server/README.md')
-rw-r--r--mcp/server/README.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/mcp/server/README.md b/mcp/server/README.md
new file mode 100644
index 0000000..f2bda68
--- /dev/null
+++ b/mcp/server/README.md
@@ -0,0 +1,36 @@
+# MCP-Server
+
+Let LLM-functions tools/agents be used through the Model Context Protocol.
+
+## Serve tools
+
+```json
+{
+ "mcpServers": {
+ "tools": {
+ "command": "node",
+ "args": [
+ "<path-to-llm-functions>/mcp/server/index.js",
+ "<path-to-llm-functions>"
+ ]
+ }
+ }
+}
+```
+
+## Serve the agent
+
+```json
+{
+ "mcpServers": {
+ "<agent-name>": {
+ "command": "node",
+ "args": [
+ "<path-to-llm-functions>/mcp/server/index.js",
+ "<path-to-llm-functions>",
+ "<agent-name>",
+ ]
+ }
+ }
+}
+```