MCP Published · 5 min read

How to connect a remote MCP server to Claude, ChatGPT and Cursor, with an applicant tracking system example

A remote MCP server is a URL that speaks Streamable HTTP. You can add it as a custom connector in Claude, configure it in Cursor's mcp.json, or expose its operations through a Custom GPT Action in ChatGPT. Authenticate with OAuth or a Bearer token, confirm your identity, then test read tools before approving write tools.

What do you need before connecting a remote MCP server?

You need the server URL, its supported authentication method, and a clear account of what each tool can do. For this tutorial, the generic endpoint is:

https://mcp.example.com/mcp

A remote Model Context Protocol server gives an AI client access to tools over the network. Those tools might retrieve records, create or update records, start an AI task, send an invitation, or send an email. The client presents the available tools, while the server checks authentication and carries out allowed requests.

The transport matters. Every MCP example in this tutorial uses Streamable HTTP, so the client connects directly to an HTTPS endpoint. Older local configurations may instead start a command over standard input and output. If a client can't connect to a remote endpoint itself, a bridge can translate between those two arrangements.

Before adding any server, obtain these details from its documentation:

  1. The exact MCP endpoint.
  2. Whether it supports OAuth, personal access tokens, or both.
  3. Which OAuth scopes it requests.
  4. Which tools read data and which tools change data or contact people.
  5. Whether it has an identity tool such as whoami.

Don't paste a token into a shared configuration file or commit it to source control. Treat it as a credential.

How do OAuth 2.1 and personal access tokens differ?

OAuth lets you authorize a client without copying a long-lived credential into its configuration. A personal access token uses a direct method, but you must store and revoke it yourself.

With OAuth 2.1, the client sends you to an authorization page. After you sign in and approve access, the client receives tokens for the granted scopes. Public clients should use Proof Key for Code Exchange, or PKCE, so an intercepted authorization code can't be exchanged without the verifier created by the client.

A personal access token takes a more direct route. The client sends it with each request:

Authorization: Bearer YOUR_TOKEN

Use only the scopes required for the task. If a server separates read and write access, begin with read access. Add write access when you have a specific operation to perform and understand its effect.

OAuth keeps authorization and account selection in the browser. A token works for a local configuration, script, or client that doesn't support the server's OAuth flow.

How do you connect the server in Claude Code?

Use claude mcp add with the HTTP transport, a local name for the server, and its endpoint:

claude mcp add --transport http myserver https://mcp.example.com/mcp

If the server supports OAuth, Claude can start the sign-in flow when the connection requires authorization. Complete that flow in the browser and approve only the requested access you need.

If the server uses a personal access token, add the Authorization header:

claude mcp add --transport http myserver https://mcp.example.com/mcp --header "Authorization: Bearer YOUR_TOKEN"

Avoid putting the token form in shell history, documentation, screenshots, or a repository. Use your client's supported secret storage where available.

After connecting, inspect the tools before calling them. Tool names alone may not reveal their full effect. A tool named update_applicant, for example, could change a private note, a workflow stage, or both. Its input schema and description should say which fields it changes.

How do you connect the server in Claude web or desktop?

Open Settings, select Connectors, choose Add custom connector, and paste the remote endpoint:

https://mcp.example.com/mcp

Complete the OAuth flow when prompted. Then enable specific tools instead of granting routine approval to every operation.

Use this permission split:

  • Read-only tools: allow them automatically after checking their descriptions.
  • Write tools: ask before every call.
  • Tools that contact another person or start an external action: ask before every call and inspect the arguments.

For an applicant tracking system, listing jobs and viewing applicants are read operations. Moving an applicant to another stage changes a record. Sending an email has an effect outside the system and should remain subject to explicit approval.

How do you configure the server in Cursor?

Create or edit the relevant mcp.json file and add the server under mcpServers:

{
  "mcpServers": {
    "myserver": {
      "url": "https://mcp.example.com/mcp"
    }
  }
}

Restart or reload the client if it doesn't detect the new entry. Then inspect the exposed tools and complete authentication.

Start with the URL alone when OAuth is supported. Add headers only when the server requires them and the client provides a safe way to store secrets.

If Cursor reports that it can't reach the endpoint, check the URL exactly as supplied by the server. The /mcp path can be part of the endpoint, so removing it may point the client at an ordinary website or an unrelated API route.

Authentication failures require a different check. Confirm that the token is valid, that the header begins with Bearer, and that the credential has the required scope. A successful network connection doesn't prove that the authenticated account can call every tool.

What if the client doesn't support remote MCP servers?

Use the mcp-remote bridge when a client accepts command-based MCP configurations but can't connect to a remote server directly:

{
  "mcpServers": {
    "myserver": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.example.com/mcp"
      ]
    }
  }
}

The client starts the bridge as a local process. The bridge then connects to the remote Streamable HTTP endpoint.

This adds another component to troubleshoot. If a direct remote connection works in the same client, use it. If the bridge is required, verify that Node.js and npx are available, then review the bridge's output when authentication or discovery fails.

Don't add a Bearer token to this example unless the server requires one and you have checked how the bridge accepts credentials. The server's documentation should define the supported method.

How do you connect the server to ChatGPT?

For the Custom GPT route in this tutorial, create a GPT, open Configure, choose Actions, and select Create new action. Import the server's OpenAPI schema, then set Authentication to OAuth using the authorization and token URLs declared by that schema.

This route depends on an OpenAPI description of callable HTTP operations. The generic MCP URL alone isn't an OpenAPI schema. The server provider must publish a compatible schema or an HTTP interface intended for GPT Actions.

After importing the schema, inspect each operation before saving the Action. Descriptions should make side effects clear. Keep operations that modify records or contact people behind confirmation.

Test authentication with an identity or read request. If authorization succeeds but an operation fails, compare the granted scopes with the operation's requirements. Reauthorizing with broader access should be a deliberate step, not the first response to every error.

Why should you call whoami first?

A whoami tool confirms which user, organisation, authentication method, and scopes the server sees. Call it before reading business data or attempting a write.

This check catches setup errors where the connection works but points to the wrong account or organisation. It also tells you whether the client received read access, write access, or both.

Use this first prompt:

Call whoami and report the authenticated user, organisation, authentication method, and scopes. Do not call any other tool.

Read the result before proceeding. If any identity detail is wrong, stop and reconnect with the intended account. If the scopes are broader than needed, reduce them through the server's authorization controls when supported.

How should you test read-only tools?

Start with a narrow request that can't alter records. Ask the client to list a small set of objects, then inspect which tool it proposes to call.

For an applicant tracking system, the progression might look like this:

List the available jobs. Do not change any records.

Then make the request more specific:

List applicants for the selected job. Return names and current stages only. Do not call write tools.

A read-only test checks four things: tool discovery, authentication, scope, and response parsing. Keep the first result small so you can inspect it without losing the relevant fields in a long response.

If the server supports tool-level approval settings, mark verified read-only tools as "Always allow". Leave unfamiliar tools on "Ask first" until you have checked their descriptions and outputs.

Which applicant tracking system actions need approval?

Any action that changes a candidate record, sends a message, invites a person, or starts an external process should require approval. Review the selected record and every argument before accepting the call.

Consider four example tools:

Example operationEffectSuggested client setting
List jobsReads job recordsAlways allow after review
List applicantsReads applicant recordsAlways allow after review
Move an applicant to another stageChanges a workflow recordAsk first
Send an applicant emailContacts a person outside the clientAsk first

The last two operations aren't equivalent to retrieving information. A mistaken stage change modifies the hiring workflow. A mistaken email leaves the system and reaches another person. The client should display the proposed tool call so you can verify the applicant, destination stage, recipient, subject, and message before approval.

Stacked bar showing 25 MCP tools with 17 read only, 2 write, 6 Write+ and 0 delete tools The tool inventory was checked 18 Oct 2026. Curriculo ATS, an AI applicant tracking system for recruiters and small teams, has 25 MCP tools: 17 read-only, 2 write, and 6 "Write+" tools whose actions reach outside the system through an email, invitation, or AI job. No tool deletes anything. Disclosure: the author is the founder of Curriculo, one of the tools mentioned.

The labels don't replace inspection. Read each tool's description, input schema, and proposed arguments. A broad write scope can cover actions with very different consequences.

How do you test a write tool without losing control?

Choose one reversible, low-impact record change, keep approval enabled, and tell the client to stop before execution. Inspect the proposed call, then approve it only if every argument is correct.

For a stage-change test, use a prompt shaped like this:

Prepare a tool call to move the selected test applicant to the selected test stage. Show the tool name and all arguments before execution. Do not execute it until you receive approval.

After approval, retrieve the same record with a read tool and confirm the new stage. Don't infer success from the assistant's prose. Check the server's returned result and then query the record.

Email needs a stricter test because retrieval can't reverse delivery. Use a controlled recipient approved for testing. Ask the client to display the recipient, subject, and body before it calls the tool:

Draft the proposed email tool call for the approved test recipient. Show every argument and wait for approval. Do not send anything yet.

If the client tries to call the tool immediately, cancel it and change that tool's setting to "Ask first". Permission configuration should enforce the boundary even when a prompt is ambiguous.

What should you check when the connection fails?

Separate transport, authentication, authorization, and tool errors. Each points to a different part of the setup.

For a transport error, verify:

  • The URL is complete and uses HTTPS.
  • The path matches the documented MCP endpoint.
  • The client supports Streamable HTTP or uses a compatible bridge.
  • The remote service is reachable from the client.

For an authentication error, verify:

  • OAuth completed under the intended account.
  • The Bearer header has the exact Authorization: Bearer YOUR_TOKEN form.
  • The token hasn't been revoked.
  • A public OAuth client uses PKCE when the server requires it.
  • The redirect URI meets the server's requirements.

For an authorization error, call whoami if available and inspect the reported scopes. Read access won't permit a write operation. A valid credential can still lack permission for one tool.

For a tool error, inspect the schema and arguments. Confirm record identifiers, required fields, and accepted values. Don't respond to a validation error by granting broader access unless the returned error identifies a scope problem.

Once the connection works, keep read-only tools on automatic approval only when their behavior is understood. Keep write tools and actions that contact people on manual approval.

Curriculo ATS has a hosted MCP server at https://mcp.curriculo.me/mcp with setup docs at https://curriculo.me/docs/mcp/.

Ready to hire with precision?

Start free with self-serve setup, invite your whole team, and skip the sales call.

en