MCP Servers
TuskBot extends tool access via MCP servers.
Config File
MCP server definitions are stored at:
<TUSK_RUNTIME_PATH>/config/mcp_config.json
Schema
json
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/workspace"],
"env": {
"NODE_ENV": "production"
}
},
"weather": {
"url": "http://localhost:3000/sse",
"type": "sse",
"headers": {
"Authorization": "Bearer <token>"
}
}
}
}Transports
TuskBot supports:
stdio(whencommandis set)sse(whenurlis set withtype: "sse")http(whenurlis set withtype: "http")
If url is set, type must be either http or sse.
Runtime Behavior
- MCP config is loaded at startup.
- TuskBot watches
mcp_config.jsonand applies updates automatically. - Added/changed/removed servers are connected/restarted/removed without full process restart.
In Chat
Use:
text
/mcpto view currently available MCP tools.