File tree Expand file tree Collapse file tree 1 file changed +40
-1
lines changed
Expand file tree Collapse file tree 1 file changed +40
-1
lines changed Original file line number Diff line number Diff line change @@ -82,10 +82,14 @@ interfaces:
8282# ============================================================================
8383tools :
8484 mcp :
85+ # --------------------------------------------------------------------------
86+ # HTTP Transport Examples
87+ # --------------------------------------------------------------------------
88+
8589 # MCP Server with bearer authentication
8690 - name : " github_mcp_server"
8791 transport :
88- type : " http" # Only "http" is currently supported
92+ type : " http"
8993 url : " ${env:GITHUB_MCP_URL}"
9094 authentication :
9195 type : " bearer"
@@ -116,6 +120,41 @@ tools:
116120 transport :
117121 type : " http"
118122 url : " https://public-mcp.example.com"
123+
124+ # --------------------------------------------------------------------------
125+ # stdio Transport Examples
126+ # --------------------------------------------------------------------------
127+ # NOTE: stdio transport is currently only supported in the LangChain-based
128+ # interpreter for AFM
129+
130+ # MCP Server via npx package
131+ - name : " filesystem_server"
132+ transport :
133+ type : " stdio"
134+ command : " npx"
135+ args :
136+ - " -y"
137+ - " @modelcontextprotocol/server-filesystem"
138+ - " ${env:ALLOWED_DIRECTORY}"
139+ tool_filter :
140+ deny :
141+ - " write_file"
142+ - " edit_file"
143+
144+ # MCP Server via Python script with environment variables
145+ - name : " local_db_tool"
146+ transport :
147+ type : " stdio"
148+ command : " python"
149+ args :
150+ - " server.py"
151+ env :
152+ DB_PATH : " ./data.db"
153+ API_KEY : " ${env:LOCAL_DB_API_KEY}"
154+ tool_filter :
155+ allow :
156+ - " query"
157+ - " search"
119158---
120159
121160# Role
You can’t perform that action at this time.
0 commit comments