1. General information

  • This guide describes the partner MCP server of NetGenium. It makes up the partner API – one of the three kinds of API of NET Genium.
  • Partners building customer implementations on the platform (see Partner program) connect it next to the integrated MCP server of the instance. Each of the two servers gives the agent something different:
    • Integrated MCP server of the instance – the data and the implementation model of the particular instance, the diagnostics of its performance and a selection of the framework knowledge matching its version.
    • Partner MCP server – the Agent Kit (the platform rules, skills, subagents and helper scripts) and the complete framework documentation, but no data and no model of any instance.
  • Connecting the integrated MCP server of the instance is described in the guide Claude Code, Codex and other tools.

2. What the partner server provides

  • search_framework_docs – the matching sections of the documentation, the rules, the skills and the subagents at once. It is the default way into the knowledge.
  • get_framework_doc, list_framework_docs – a page of the framework documentation or one of its sections, the list of all pages.
  • get_rule, get_skill, get_agent – a rule, a skill (the “SKILL.md” file) or a subagent, whole or by sections.
  • get_script – the source code of a PowerShell helper script.
  • list_resources – the list of rules, skills, subagents and scripts with their size.

The server provides the rules, the subagents and the helper scripts only to a token with the rules enabled, and the skills only to a token with the skills enabled. The framework documentation is always available.

All the tools only read. The documentation and the rules match the current state of the framework, so they may describe features that are not in the released version yet. Content meant only for the NetGenium team is not provided by the server.

3. Address and token

The server runs at the address:

https://www.netgenium.com/api/mcp

The client identifies itself with a partner token in the “Authorization” header (“Bearer”). You do not generate this token in an instance – NetGenium issues it on request sent to info@netgenium.com. Unlike the personal MCP token it is not tied to a user of any instance, it does not have the “ngt_...” form and its validity is not limited: it is valid until NetGenium revokes it. The token also sets the language of the knowledge provided (Czech or English), the language of the file names of the implementation model the rules refer to, and whether the partner gets the rules and the skills.

The token is a credential just like the personal MCP token – store it in the environment variable “MCP_TOKEN_NETGENIUM_FRAMEWORK” and only refer to that variable in the configuration:

setx MCP_TOKEN_NETGENIUM_FRAMEWORK "..."

A new value takes effect only in newly started programs, so restart your AI tool after creating the variable.

4. Configuring the AI tool

The partner server gets into an AI tool in one of three ways. In all of them the configuration refers to the token only by the name of the environment variable, so the variable with the token always has to be created by hand as described in the previous chapter.

4.1. With the ai-model utility

When the implementation model is downloaded with the “ai-model” utility, the utility writes both servers into the “.mcp.json” file in the root of the repository on its own – the server of the instance according to the address the model is downloaded from. At the same time it approves both servers with the “enabledMcpjsonServers” array in the “.claude/settings.local.json” file, so Claude Code does not ask for their approval. The utility downloads the model only from a full installation of NET Genium. For an instance in NET Genium Online and for Codex or another AI tool, the server is set up with a prompt or by hand.

4.2. Setup with a prompt

Paste the following text into your AI tool started in any folder. The tool writes the server into its user configuration, so it applies in all folders and repositories, and checks the environment variable with the token:

In the user scope (applying in all folders, not just in this project), configure a connection to the NET Genium partner MCP server as an HTTP MCP server named “netgenium-framework” with the address “https://www.netgenium.com/api/mcp”. The authentication is a Bearer token whose value comes from the environment variable MCP_TOKEN_NETGENIUM_FRAMEWORK. If your configuration supports headers only, use “Authorization” with the value “Bearer ${MCP_TOKEN_NETGENIUM_FRAMEWORK}”. Never write the actual token anywhere. If a server with the same address is already configured, do not add a second one and tell me. Finally verify that the environment variable exists and that its value does not start with “ngt_” – that would be a personal MCP token of an instance, not the partner token. Then tell me what I have to do for you to see the server.

Then restart the AI tool, confirm any prompt asking you to allow the server and open your working folder. The agent then prepares the development environment on its own:

Prepare my environment for development in NET Genium.

On its first start the agent sets up only the shared “References” directory with the NETGeniumConnection library and the “ai-model” utility in a folder of your choice (the “NETGENIUM_HOME” environment variable). It creates neither projects nor a repository – you ask for those separately. The server of the instance is set up the same way, with the ready-made prompt from the “MCP token” tab – see Values for your instance.

4.3. Manual configuration

In Claude Code both servers stand next to each other in the “.mcp.json” file in the root of the repository:

{
"mcpServers": {
"netgenium-framework": {
"type": "http",
"url": "https://www.netgenium.com/api/mcp",
"headers": {
"Authorization": "Bearer ${MCP_TOKEN_NETGENIUM_FRAMEWORK}"
}
},
"identifier-netgenium-online": {
"type": "http",
"url": "https://identifier.netgenium.online/mcp",
"headers": {
"Authorization": "Bearer ${MCP_TOKEN_IDENTIFIER_NETGENIUM_ONLINE}"
}
}
}
}

In Codex a further entry is added to the “config.toml” file next to the entry of the instance:

[mcp_servers.netgenium-framework]
url = "https://www.netgenium.com/api/mcp"
bearer_token_env_var = "MCP_TOKEN_NETGENIUM_FRAMEWORK"
 

4.4. Verifying the connection

After the restart, paste into your AI tool a text that verifies the connection and introduces the agent to the platform rules right away:

Using the “netgenium-framework” MCP server, read the hard rules of platform-concepts and list the rules and skills the server offers you. Do not change anything in the project.

If the agent lists the rules and skills, the server works. Otherwise see the chapter Troubleshooting.

5. Both servers side by side

The servers work together without any conflict. An AI tool tells the tools apart by the name of the server, so tools with the same name coming from different servers do not get in each other's way. Only the framework knowledge tools (“search_framework_docs”, “get_framework_doc”, “list_framework_docs”) have the same names, as both servers offer them – each of them with a different scope, though:

  • The partner MCP server provides all pages of the framework documentation in the current state of the framework. According to the token settings it provides all rules except the internal ones and the skills, subagents and scripts. It provides neither data nor the implementation model.
  • The MCP server of the instance provides a selection of documentation pages in the version the instance runs on and only a selection of the platform rules bundled with the knowledge. It provides no skills, subagents or scripts. It provides the data and the implementation model according to the permissions of the token.

The agent therefore takes the framework knowledge from the partner server and uses the server of the instance for the data, the implementation model and the diagnostics. Both servers tell the agent the same in the instructions they send it when it connects, so it picks the right server on its own.

6. Skills, subagents and helper scripts

The partner server provides skills and subagents as text, not as commands of the AI tool. A skill is therefore not started with a slash: it is enough to tell the agent which skill to use (for example “use the create-ngef skill”), or to describe the task, and the agent finds the matching skill with the “search_framework_docs” tool on its own. Subagents are used the same way.

The server provides the PowerShell helper scripts only as source code. The scripts that are meant to run automatically after every change of a file (aligning the encoding and the line endings, protecting the downloaded implementation model) are wired up by the “ai-model” utility when it configures a repository: it downloads them from the partner server into the “References\scripts” directory and writes them into the “.claude/settings.local.json” file of the repository, keeping the user's own settings. The wiring applies to Claude Code only. In another AI tool the agent itself watches the encoding and the line endings according to the rules.

7. Troubleshooting

  • The partner MCP server returns the 401 error – the partner token is missing or NetGenium has revoked it. Check the environment variable with the token. A personal MCP token “ngt_...” is not valid here.
  • The tool does not see the server at all – the environment variable with the token is missing, the user has not approved the server, or the tool has not been restarted since the configuration changed.

The other ways to connect are listed in the overview MCP server setup.