Setup: Local MCP Server
MCP servers extend TomoriBot with external tools. Online (HTTPS) MCP servers work on any instance — see Tools & Extensions. Local MCP servers are different:
1. Run a local MCP server
Section titled “1. Run a local MCP server”Start any MCP server that exposes an HTTP/SSE transport on a local port. For example, many MCP servers run via Node:
npx -y <some-mcp-server> --port 3000The exact command depends on the server you’re running. Note the URL and transport path it
prints — commonly something like http://localhost:3000/sse.
TomoriBot’s own tooling expects Node.js v20+ to be available for MCP tooling on the host.
2. Register it in Discord
Section titled “2. Register it in Discord”Run /mcp add and point the URL field at your local server:
http://localhost:3000/sseLeave the Auth Token field blank — no auth token is needed for local servers.
3. Manage it
Section titled “3. Manage it”/mcp remove— unregister the server. This immediately disconnects it and frees a slot.
Security
Section titled “Security”For the online-MCP flow and the full security rationale, see Tools & Extensions → MCP Servers.