Connecting other MCP servers
Other MCP servers, like GitHub's or a database's, can run behind SolutionMCP. Then each AI app needs only one entry, SolutionMCP, and every server's tools share your permissions, rules and activity log.
Add a server
Servers are added in the settings file. For example, GitHub's server:
[[connect]]
name = "github"
command = "npx"
args = ["-y", "@modelcontextprotocol/server-github"]
env = { GITHUB_PERSONAL_ACCESS_TOKEN = "{{ secret.GITHUB_TOKEN }}" }
tools = ["*issue*", "*pull_request*"]
- Save the token as a secret named
GITHUB_TOKEN. - Open the settings file and add the lines above.
- Save. The server starts in the background, and its tools appear on the Tools page as a toolset named
github.
Its tools are named after the server, like github__create_issue. tools picks which of its tools to offer; leave
it out to offer them all.
Good to know
- The server's switch on the Tools page starts and stops it.
- A server's tools that aren't marked read-only ask first in Balanced mode. Use rules to change that, for example "Always run github__get_*".
- A connected server runs with your account, like any program you install. Only connect servers you trust.