SPB Git forge

spb/doc-api

Public
2commits 1branches 0releases
15.7 MBsize
maindefault branch
14 days agolast push
Python 88.3% TypeScript 7.6% Shell 4.1%
1014 B

# MCP connector examples

File What Status
mcp_connector.sh / .py / .ts Messages API call with mcp_servers + mcp_toolset against the public DeepWiki server (https://mcp.deepwiki.com/mcp), beta header mcp-client-2025-11-20 sh/py identical to live request i1 (LIVE_VERIFIED 2026-09-18); ts UNVERIFIED as script
mini-mcp-server.ts 90-line Streamable-HTTP MCP server (initialize / tools/list / tools/call, tool echo), Node built-ins only LIVE_VERIFIED locally over HTTP; not yet reached through the connector

The connector only reaches publicly routable https URLs (Streamable HTTP or SSE); stdio/localhost servers are out. Publish the mini server with a tunnel (cloudflared / ngrok / the MacLustr Tunnel mlt add <domain> <node>:8788), then run mcp_connector.py https://<public-host>/mcp. Anthropic performs initialize, tools/list, tools/call; the model sees mcp_tool_use / mcp_tool_result blocks. See docs/tools/anthropic/mcp-connector.md.