aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/server/README.md
diff options
context:
space:
mode:
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>",
+ ]
+ }
+ }
+}
+```