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”Open /config > Plugins > MCP Servers, choose + Add MCP, point the URL field
at your local server, and leave the required Server Type on its default General Purpose value:
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”- Open the Config page and choose Remove on the server’s row. Confirming unregisters it, 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.