The Claude and ChatGPT applications, web and desktop alike, connect to the integrated MCP server of the instance by signing in. You enter only the address of the server, sign in to the instance and allow what the application may do. Nothing is copied or stored.

1. Requirements

  • The instance runs at the root of the web site (which is always the case in NET Genium Online) and over HTTPS. An instance in a subdirectory of the server is connected with a personal MCP token.
  • Access is granted this way only to a user with administrator rights. If the list “Administrators with access to the MCP server” is filled in the NET Genium settings, only to the Administrator account and the administrators in the list.

2. The address of the server

The MCP server has the address “/mcp” in the root of the instance:

https://<instance address>/mcp

For example “https://netgenium.company.com/mcp”, in NET Genium Online “https://identifier.netgenium.online/mcp”.

In NET Genium Online, the universal address, shared by all instances, can be used as well:

https://netgenium.online/mcp

With it, the instance is chosen only while connecting – the application first shows a screen where you enter the address of your instance, and only then the sign-in.

3. Procedure

  1. In the application, add the instance as a custom connector and enter only the address of the server.
  2. The application finds out the rest on its own and opens the sign-in screen of your instance. Sign in.
  3. On the “Connecting an application” screen, check what the application may do and allow the connection.

If you enter the universal address, one more step comes before the sign-in: in the Instance address field, you enter the identifier of your instance or its full address. Only then does the sign-in screen of the instance open. All three steps – Instance, Login and Consent – are shown in the header of the “Connecting an application” screen.

The “Connecting an application” screen shows the name of the application, the address it returns to, and two check boxes – Read data and the model and Write data and the model. They are ticked according to what the application asked for. You may untick either of them. The model of the implementation is given to the application only with reading or writing data ticked. With neither reading nor writing ticked, the connection is refused – with the single exception described in the Details chapter.

4. Disconnecting

The connected applications are listed in the Change password dialog on the “Connected applications” tab, where you also disconnect them. You open the dialog by clicking the avatar on the right side of the header and choosing “Change password” in the personal menu. Disconnecting takes effect immediately – the application loses the access before its token expires.

5. Troubleshooting

Symptom Cause and remedy
The application offers no sign-in, or reports that the server does not support it The instance does not run at the root of the web site over HTTPS, so it is not an authorization server. Connect it with a personal MCP token.
The universal address reports that there is no instance at this address The address of the instance was entered wrongly. Enter the identifier of the instance – the part of the address before “.netgenium.online” – or the full address you sign in to the instance at.
The application reports that the method does not exist The permission the tool needs was not ticked on the consent screen – the writing tools and writing the model require writing, the reading tools reading. Disconnect the application and connect it again.
The server returns the 403 error Access was denied: the user does not have administrator rights, is not in the list of administrators with access to the MCP server, the licence key does not allow AI, the IP address is not among the allowed ones in the NET Genium settings, or the licences are exhausted. The reason is given in the server response and in the “Auth” log.
The server returns an empty response The “DenyLogin.txt” configuration file exists in the “Config” directory of the instance. While it exists, the integrated MCP server is disabled. A detailed description is provided in the separate guide NET Genium settings.
A “please wait” page arrives instead of an answer Repeated failed requests from the same IP address have activated the protection against guessing tokens, and the server does not serve any requests from that address for a while. The page refreshes itself after 5 seconds.

6. Details

Once allowed, the application receives an access token valid for one hour. It renews the token on its own only if it asked for permanent access (the “offline_access” scope) – it then also receives a refresh token valid for 30 days. An application that asked for permanent access connects even with neither reading nor writing ticked and receives just the knowledge of the framework – the same as a personal token without the permissions to read and write.

Details
  • The MCP server recognises a request by the token in the “Authorization” header. Without a valid token it answers with the status code 401 and the “WWW-Authenticate” header, as the MCP protocol prescribes – that is how the application finds out where to send the user to sign in.
  • The instance limits the registration of an application, the download of its description (the metadata document) when issuing tokens and the download of the description on the consent screen before signing in to a combined 60 requests per hour from one IP address. After signing in, the download of the description on the consent screen has its own limit of 60 requests per hour, separate for each user. Before downloading the description, the instance verifies that its address does not resolve to the internal network of the server.
  • The instance remembers a downloaded description of an application for 10 minutes. A registration over the limit ends with the response 429. An application identified by a description that was not downloaded because of the limit is unknown both in authorization and in the token exchange.
  • A refresh token is exchanged for a new one on every use. The used token remains valid until the application uses the new one – if the response with the new tokens does not reach it (a dropped connection, a server restart), it can repeat the renewal with the original token, which invalidates the tokens from the undelivered response.
  • The check boxes on the consent screen correspond to the “mcp:read” (reading) and “mcp:write” (writing) scopes the application asks for.
  • Claude connects to the instance from the “160.79.104.0/21” network. If the instance restricts the allowed IP addresses in the NET Genium settings, it has to allow this range – as well as the IP address of the user who signs in on the consent screen. Neither the description of the server, the registration of the application nor the exchange of the code for a token checks the allowed IP addresses, so the connection goes through completely, but every call of the MCP server from an address that is not allowed ends with the response 403 and the reason is written to the “Auth” log.
  • The codes and tokens a NET Genium Online instance issues when connecting by signing in start with the identifier of the instance, so they are valid both on the universal address and on the address of the instance. An application registered on the universal address is listed on the “Connected applications” tab under the name it registered with.
  • Requests from the address “127.0.0.1” are exempt from the requirements of running at the root of the web site and over HTTPS. Even then, however, the description of the server gives addresses at the root of the host without a port number, so the whole connection by signing in can be debugged locally only on an instance at the root of the web site on the standard port. On an instance in a subdirectory, only the individual sign-in pages called directly can be debugged.
  • Three addresses verify the setup: “https://<instance>/.well-known/oauth-protected-resource/mcp” and “https://<instance>/.well-known/oauth-authorization-server” must return JSON, and a request to “/mcp” without a token must answer with the status 401 and a “WWW-Authenticate” header containing “resource_metadata”. If any of these three things is missing, the application has no way to find out where to send the user to sign in.
  • The addresses the instance gives in the description of the server and in the “WWW-Authenticate” header carry no port number. An instance reachable over HTTPS on a port other than the standard one therefore cannot be connected by signing in and stays with the personal token.
  • Failed requests with an invalid token, failed requests to exchange an authorization code or a refresh token and wrong passwords entered on the pages protected by a password from the NET Genium settings dialog (print templates, restart, AI model) by a visitor who has not signed in all count towards the limit of the protection against guessing tokens. Trying further values only prolongs the block.

What the server can do and which tools it offers is described in the guide The integrated MCP server. The other ways to connect are listed in the overview MCP server setup.