Connecting AnythingMCP
Use systems without a ready-made connector in MeinGPT through the self-hosted MCP gateway AnythingMCP
What this is for
AnythingMCP is an open-source gateway from helpcode.ai GmbH. It turns an existing interface into an MCP server, so you don't have to build one yourself. Sources include OpenAPI/Swagger descriptions, SOAP/WSDL, OData, GraphQL and databases such as PostgreSQL, MySQL or SQL Server.
AnythingMCP provides a standard MCP endpoint. You therefore connect it to MeinGPT as a Custom MCP Server; MeinGPT needs no integration of its own for it. This reaches systems that have neither a ready-made connector nor an MCP server of their own.
Attention
AnythingMCP is an independent product from another vendor. MeinGPT does not ship, operate or support it. You run it yourself and are responsible for securing it, for the credentials to your systems stored in it, and for complying with its license. The source code is under the AGPL-3.0; the vendor offers commercial editions for larger teams and additional features. Read the vendor's license and data protection terms before you use it. If you use the vendor's cloud service instead of running it yourself, another provider processes the data from your systems. Cover that in your data protection documentation.
This guide was checked with AnythingMCP 0.55 and the vendor's Docker quickstart. The product changes quickly; names and steps in AnythingMCP may change. The vendor's documentation is authoritative.
When AnythingMCP fits
AnythingMCP fits when:
- the target system has an interface (OpenAPI, SOAP, OData, GraphQL or a database), but MeinGPT offers no connector for it,
- you can run a server with Docker and make it reachable at an
https://address that MeinGPT may call.
AnythingMCP does not fit when:
- a connector exists for the system. Use the connector.
- the system is only reachable on the internal network and AnythingMCP cannot be reachable from MeinGPT. Use On-Premise Connections instead.
- you need custom business logic or multi-step processes. A custom MCP server or n8n suits that better.
Setting up and connecting AnythingMCP
You need a server with Docker, an https:// address for AnythingMCP, and permission to add custom MCP servers in your workspace (see the note on the Custom MCP Server page).
Note
The vendor's Docker quickstart is meant for local tests: it only listens on 127.0.0.1, has no TLS and uses keys instead of OAuth (MCP_AUTH_MODE=legacy). For an installation MeinGPT can reach, follow the vendor's installation guide with your own domain and HTTPS.
Create the interface as a connector
In AnythingMCP, create a connector under Connectors, for example of type REST with the system's base URL, and import its OpenAPI description. Store how AnythingMCP signs in to the target system. Each endpoint in the description becomes a tool.
Choose the tools
In AnythingMCP, switch off every tool the AI should not use. This applies above all to endpoints that write or delete. A large interface quickly produces a very large number of tools (see Size of the tool list).
Create an MCP server
Under MCP Servers, create a new MCP server and assign the connector to it. The MCP server's page shows the MCP endpoint, the address with the server ID, such as https://your-gateway.example.com/mcp/<server ID>. Use this address with the server ID, not the server's name or short name.
Create an API key
On the MCP server's page, create a key for exactly this server under API keys and copy it.
Enter it in MeinGPT
Open Settings → Connections, go to the Custom MCP servers section and click Add MCP server. Enter:
- Name: any name you like
- URL: the MCP endpoint from step 3
- Authorization: None
- Add header: Key
Authorization, ValueBearer <API key>
Switch it on in a chat and try it
Save the server. Then switch it on in a chat or select it in an assistant (see Turning the server on in a chat) and ask something only the server can answer. If the AI calls the server, an expandable tool call tile with the request and the response appears in the chat (see Checking that the server works).
Besides the tools of your interface, the gateway offers one extra helper tool (kg_how_to_obtain). It counts toward the limit like any other tool.
Sign-in and permissions
With the API key, the server acts like a shared service account: everyone who uses the assistant works with the rights AnythingMCP has in the target system. This is described under Making a server available to colleagues. Give that access only the rights the assistant needs in the target system, and set up database access as read-only.
According to the vendor, AnythingMCP can also offer OAuth (mode oauth2 or both, see its installation guide). Remove the Authorization header that holds the API key first, then choose OAuth: register automatically (DCR) under Authorization in MeinGPT. If the header stays, MeinGPT keeps sending the shared key until a person signs in, and it does not ask that person to sign in (see Precedence). Without the header, each person signs in to AnythingMCP. Note that this authenticates against AnythingMCP. Whether each person works with their own rights in the target system depends on which functions and edition of AnythingMCP you use. Ask the vendor before you rely on it.
Troubleshooting
The server does not load in a chat
If the warning Some tools could not be loaded appears in the chat (see Warning "Some tools could not be loaded"), check the access without MeinGPT first. Call the endpoint with the key directly:
curl -i -X POST "https://your-gateway.example.com/mcp/<Server-ID>" \
-H "Authorization: Bearer <API key>" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"check","version":"0"}}}'The response tells you what is wrong:
- 200 with the name of your MCP server: the address and key are right. Then check the size of the tool list (see below) and whether MeinGPT can reach your installation.
- 401: the key is missing, wrong or revoked. In MeinGPT, the header value has to start with
Bearer, followed by the key. - 403: the key belongs to another MCP server, or the URL contains the server's name or short name instead of the server ID. AnythingMCP rejects both.
- No response: check the domain, HTTPS and firewall. The Docker quickstart only listens on
127.0.0.1and is not reachable from outside.
Size of the tool list
The model sees up to 100 tools per server directly. MeinGPT offers a larger server through a search: the assistant first searches the server's tools and then runs the one it needs. Beyond 1,000 tools, or with very large definitions, a server is skipped (see Warning "Some tools could not be loaded"). If you import a large OpenAPI description, switch off the tools you don't need in AnythingMCP. This saves space in the context and prevents unwanted actions.
Next steps
- Custom MCP Server: all fields, sign-in types and error messages
- On-Premise Connections: connect internal systems
- Building MCP Tooling: develop your own MCP server