Skip to content

Commit 5a1c05a

Browse files
committed
feat: integrate Model Context Protocol (MCP) support
- Added MCP plugin to facilitate communication with MCP servers using both stdio and streamable HTTP transports. - Updated configuration template to include MCP server definitions. - Implemented client connection logic and tool registration for MCP, enhancing extensibility and integration capabilities.
1 parent 5b2844d commit 5a1c05a

File tree

4 files changed

+561
-2
lines changed

4 files changed

+561
-2
lines changed

configs/config.yaml-template

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,15 @@ plugins:
7575
browser:
7676
headless: true
7777
cli-ui:
78+
mcp:
79+
servers:
80+
server1:
81+
type: stdio
82+
command: node
83+
args: ["/path/to/your/mcp-server.js", "arg1", "arg2"]
84+
env:
85+
ENV_VAR: ENV_VALUE
86+
ANOTHER_ENV_VAR: ANOTHER_ENV_VALUE
87+
server2:
88+
type: streamable_http
89+
url: http://localhost:3000

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"homepage": "https://athenalab.ai/",
3030
"description": "",
3131
"dependencies": {
32+
"@modelcontextprotocol/sdk": "^1.11.4",
3233
"@supabase/supabase-js": "^2.49.4",
3334
"amadeus": "^11.0.0",
3435
"discord.js": "^14.18.0",

0 commit comments

Comments
 (0)