Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mcp/bridge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ async function startMcpServer(id, serverConfig) {
name: `${formatToolName(id, name, prefix)}`,
description,
parameters: inputSchema,
mcp: id,
},
impl: async args => {
const res = await client.callTool({
Expand Down
4 changes: 2 additions & 2 deletions scripts/mcp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ start() {
index_js="$(cygpath -w "$index_js")"
llm_functions_dir="$(cygpath -w "$llm_functions_dir")"
fi
echo "Run MCP Bridge server"
echo "Start MCP Bridge server..."
nohup node "$index_js" "$llm_functions_dir" > "$MCP_DIR/mcp-bridge.log" 2>&1 &
wait-for-server
echo "Merge MCP tools into functions.json"
Expand Down Expand Up @@ -114,7 +114,7 @@ recovery-functions() {

# @cmd Generate function declarations for the mcp tools
generate-declarations() {
curl -sS http://localhost:$MCP_BRIDGE_PORT/tools | jq '.[] |= . + {mcp: true}'
curl -sS http://localhost:$MCP_BRIDGE_PORT/tools
}

# @cmd Wait for the mcp bridge server to ready
Expand Down
Loading