NEWn1n v2.0.1 is live! Enterprise Unified LLM API Gateway with 500+ AI Models, up to 90% off, Try now

Claude Custom Connector for Remote MCP: Keys, Permissions and a Real Test

Authors
  • avatar
    Name
    Nino
    Occupation
    Senior Tech Editor

As the landscape of Large Language Models (LLMs) evolves, the ability to connect models like Claude to real-time, external data sources has become a critical requirement for developers. On November 24, 2026, Anthropic introduced significant updates to how Claude handles custom connectors via the Model Context Protocol (MCP). For developers and enterprises utilizing the high-speed LLM infrastructure at n1n.ai, understanding these changes is essential for building stable and secure AI agents.

The November 2026 Claude Connector Update

The update fundamentally changed the 'add flow' for custom connectors. Previously, users relied on a simplified 'Advanced settings' link for OAuth configurations. The new interface now presents a three-step authentication review process: 'Sign in now,' 'Sign in when needed,' and 'No sign in.'

One of the most critical changes involves how API keys are handled. API keys are now placed within a specific field called 'Request headers.' Unlike previous iterations, you must manually type the Bearer prefix followed by your key. Furthermore, security policies now dictate that these headers cannot be edited once saved. If you need to update a credential, you must delete the connector and recreate it. This shift emphasizes the need for robust API management, a core feature of the n1n.ai platform, which simplifies key rotation and access control across multiple models.

Authentication Mechanics: API Keys vs. OAuth

When connecting to a remote MCP server like EveryInfra, you typically choose between Header-based authentication and OAuth.

  1. Request Headers (API Keys): This is ideal for single-user setups or teams using a shared wallet. You select 'No sign in' and add an authorization header with the value Bearer your_api_key.
  2. OAuth 2.0: Recommended for larger organizations. By selecting 'Sign in when needed,' Claude redirects users to the provider's sign-in page. This ensures each team member uses their own account and budget.

Pro Tip: If your Claude environment does not show the 'Request headers' field, it means your organization hasn't been granted the beta access for this feature yet. In this case, you should use the /mcp/all endpoint which supports OAuth discovery via RFC 9728.

Managing MCP Tool Permissions

Claude now categorizes connector tools into groups such as 'read-only' and 'write/delete.' However, the logic behind this grouping relies on server-provided hints like readOnlyHint: true. Our testing on the EveryInfra /mcp endpoint revealed that out of 12 tools, 11 were marked as read-only.

Crucially, 'read-only' does not mean 'free.' Tools like everyinfra_call_api or everyinfra_solve_captcha are technically read-only (they don't modify the server state) but they incur costs per call. Developers must be vigilant. Using the 'Always ask' or 'Manual mode' is the only way to ensure Claude doesn't trigger paid actions without explicit consent.

Real-World Test: Football Manager 27 Weekly Brief

To test the efficiency of these connectors, we implemented a data-gathering task for 'Football Manager 27.' The goal was to aggregate community sentiment from Reddit and YouTube. Using n1n.ai to power the underlying Claude 3.5 Sonnet model, we executed a series of MCP calls.

The Implementation Plan:

  1. Reddit Extraction: Fetch the top 25 posts from r/footballmanagergames using reddit/subreddit_posts.
  2. YouTube Analysis: Search for 'Football Manager 27 review' and extract comments from the last 7 days.
  3. Synthesis: Use Claude to categorize comments into 'Match Engine,' 'League Balance,' and 'Player Sentiment.'

Performance Metrics:

  • Successful Calls: 8 data calls.
  • Context Usage: The tool list for /mcp consumed 16,499 characters. However, Anthropic's 'Tool Search' feature (Skills over MCP) can save up to 85% of this context.
  • Cost: The total cost for the brief was approximately 0.005378.Foranenterprisetracking10productsdaily,thisscalestoaverymanageable0.005378. For an enterprise tracking 10 products daily, this scales to a very manageable 1.64 per month.

Integration via Claude Messages API

For developers building custom applications, the MCP connector can be integrated directly via the API. Below is a configuration example {using Python}:

# Configuration for Messages API with EveryInfra
response = client.beta.messages.create(
    model="claude-3-5-sonnet-20241022",
    max_tokens=4000,
    messages=[{"role": "user", "content": "Summarize FM27 reddit trends."}],
    mcp_servers=[{
        "type": "url",
        "url": "https://api.everyinfra.com/mcp",
        "name": "everyinfra",
        "authorization_token": os.environ["EVERYINFRA_API_KEY"],
    }],
    tools=[{
        "type": "mcp_toolset",
        "mcp_server_name": "everyinfra",
        "default_config": {"enabled": False},
        "configs": {
            "everyinfra_call_api": {"enabled": True},
            "everyinfra_list_requests": {"enabled": True}
        },
    }],
    betas=["mcp-client-2025-11-20"],
)

Troubleshooting Common Errors

  • 401 Unauthorized: Usually caused by omitting the Bearer prefix in the Request Header. Claude sends the value exactly as typed.
  • Rate Limiting: EveryInfra enforces a 10-call-per-minute limit on standard keys. If hit, the MCP response will include isError: true and a retry_after field.
  • Connectivity Issues: Ensure your MCP server URL is public and uses port 443. Anthropic's cloud connects directly to the server, so local network settings (like VPNs) on your machine do not affect the connection.

Conclusion

The evolution of Claude Custom Connectors provides a powerful bridge between LLMs and live data. By combining the flexibility of MCP with the reliability of API providers like EveryInfra and the model performance of n1n.ai, developers can create sophisticated, data-aware AI solutions with minimal overhead.

Get a free API key at n1n.ai.