Set up your AI
Pick your app. Sign-in is the easiest way: you approve the permissions on urnextdoor.com and never copy anything. Apps without sign-in, scripts and agents use an MCP token: click Create token at urnextdoor.com Settings, AI agents and copy the ready command it shows.
Server URL:
https://mcp.urnextdoor.com/mcpClaude.ai, Claude Desktop and mobile
Custom connectors are set up once on claude.ai and then work in Claude Desktop and the mobile apps too.
- Open Customize, Connectors (claude.ai/customize/connectors) and choose Add, then Add custom connector.
- Name it Ur Next Door and paste the URL below. Leave sign-in on (OAuth).
- Choose Add, then Connect. Sign in to urnextdoor.com, pick the permissions and approve.
https://mcp.urnextdoor.com/mcpOn Team and Enterprise plans an Owner adds the connector under Organization settings, Connectors; each member then clicks Connect and signs in with their own Ur Next Door account. The Free plan allows one custom connector.
Claude Desktop with an MCP token
Add this to claude_desktop_config.json (Settings, Developer, Edit config), then restart Claude. It runs the mcp-remote bridge, so Node.js must be installed:
{
"mcpServers": {
"urnextdoor": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.urnextdoor.com/mcp",
"--header",
"Authorization:${UND_AUTH}"
],
"env": {
"UND_AUTH": "Bearer und_mcp_..."
}
}
}
}To get a token, open urnextdoor.com Settings, AI agents, tick what it may do (Read is always on; tick Write to create and edit, and Delete only if you want deletes) and click Create token. The page then shows a ready command with your token filled in. Keep the token secret: anyone with it can act as you. Revoke it there at any time.
Menus and file formats change; if a step does not match what you see, check your client's docs.
Claude Code
Add the server, then sign in from inside a session.
claude mcp add --transport http --scope user urnextdoor https://mcp.urnextdoor.com/mcpStart claude, type /mcp, pick urnextdoor and choose Authenticate. Your browser opens the Ur Next Door sign-in.
With an MCP token
claude mcp add --transport http --scope user urnextdoor https://mcp.urnextdoor.com/mcp --header "Authorization: Bearer und_mcp_..."--scope user makes it work in every folder, not just the one you ran it in. The token is saved in your Claude Code config. For a shared project, put this in .mcp.json and keep the token in an environment variable:
{
"mcpServers": {
"urnextdoor": {
"type": "http",
"url": "https://mcp.urnextdoor.com/mcp",
"headers": {
"Authorization": "Bearer ${UND_MCP_TOKEN}"
}
}
}
}To get a token, open urnextdoor.com Settings, AI agents, tick what it may do (Read is always on; tick Write to create and edit, and Delete only if you want deletes) and click Create token. The page then shows a ready command with your token filled in. Keep the token secret: anyone with it can act as you. Revoke it there at any time.
ChatGPT
ChatGPT connects to custom MCP servers with sign-in (OAuth) only, so no MCP token is needed.
- In ChatGPT on the web, open the place where custom MCP servers are added (at the time of writing: Settings, Apps with Developer mode turned on under Advanced, then Create; some accounts show it under Plugins, Add custom MCP server).
- Name it Ur Next Door, paste the URL below and choose OAuth as the authentication.
- Accept the custom connector notice, then sign in to urnextdoor.com and approve.
https://mcp.urnextdoor.com/mcpWhich ChatGPT plans can use custom MCP servers, and whether they can write or only read, changes often (full read and write has needed a Business, Enterprise or Edu workspace, or developer mode). Check OpenAI's help center for your plan.
OpenAI Codex CLI
Add the server to ~/.codex/config.toml:
[mcp_servers.urnextdoor]
url = "https://mcp.urnextdoor.com/mcp"Then sign in:
codex mcp login urnextdoorWith an MCP token
[mcp_servers.urnextdoor]
url = "https://mcp.urnextdoor.com/mcp"
http_headers = { "Authorization" = "Bearer und_mcp_..." }To keep the token out of the file, use bearer_token_env_var = "UND_MCP_TOKEN" in place of http_headers and set UND_MCP_TOKEN in your shell; Codex then sends Authorization: Bearer with its value.
To get a token, open urnextdoor.com Settings, AI agents, tick what it may do (Read is always on; tick Write to create and edit, and Delete only if you want deletes) and click Create token. The page then shows a ready command with your token filled in. Keep the token secret: anyone with it can act as you. Revoke it there at any time.
Menus and file formats change; if a step does not match what you see, check your client's docs.
Gemini CLI
Add the server to ~/.gemini/settings.json (or .gemini/settings.json in a project). httpUrl means Streamable HTTP:
{
"mcpServers": {
"urnextdoor": {
"httpUrl": "https://mcp.urnextdoor.com/mcp"
}
}
}Then, inside Gemini CLI, sign in:
/mcp auth urnextdoorWith an MCP token
{
"mcpServers": {
"urnextdoor": {
"httpUrl": "https://mcp.urnextdoor.com/mcp",
"headers": {
"Authorization": "Bearer und_mcp_..."
}
}
}
}Keep the file private. Gemini CLI also expands environment variables in settings values, so "Bearer $UND_MCP_TOKEN" works too.
To get a token, open urnextdoor.com Settings, AI agents, tick what it may do (Read is always on; tick Write to create and edit, and Delete only if you want deletes) and click Create token. The page then shows a ready command with your token filled in. Keep the token secret: anyone with it can act as you. Revoke it there at any time.
Grok through the xAI API
The xAI API can call remote MCP servers as a tool. It has no sign-in, so it uses an MCP token, passed in the tool's authorization field. XAI_API_KEY below is your own xAI key; UND_MCP_TOKEN is your Ur Next Door MCP token.
curl https://api.x.ai/v1/responses \
-H "Authorization: Bearer $XAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4",
"input": "Call whoami, then list my posts with the lowest SEO score.",
"tools": [{
"type": "mcp",
"server_url": "https://mcp.urnextdoor.com/mcp",
"server_label": "urnextdoor",
"authorization": "'"$UND_MCP_TOKEN"'"
}]
}'Use any current Grok model name. xAI documents authorization as the token put in the Authorization header; if calls fail with 401, try the value Bearer und_mcp_... instead, and check xAI's docs.
To get a token, open urnextdoor.com Settings, AI agents, tick what it may do (Read is always on; tick Write to create and edit, and Delete only if you want deletes) and click Create token. The page then shows a ready command with your token filled in. Keep the token secret: anyone with it can act as you. Revoke it there at any time.
Cursor
Add the server to ~/.cursor/mcp.json (or .cursor/mcp.json in a project). Cursor offers a sign-in for it in its MCP settings:
{
"mcpServers": {
"urnextdoor": {
"url": "https://mcp.urnextdoor.com/mcp"
}
}
}With an MCP token
{
"mcpServers": {
"urnextdoor": {
"url": "https://mcp.urnextdoor.com/mcp",
"headers": {
"Authorization": "Bearer und_mcp_..."
}
}
}
}To keep the token out of the file, Cursor also accepts "Bearer ${env:UND_MCP_TOKEN}".
VS Code (GitHub Copilot)
Add it to .vscode/mcp.json; VS Code runs the browser sign-in when the server first asks for it:
{
"servers": {
"urnextdoor": {
"type": "http",
"url": "https://mcp.urnextdoor.com/mcp"
}
}
}With an MCP token
VS Code asks for the token once and keeps it in its secret storage:
{
"servers": {
"urnextdoor": {
"type": "http",
"url": "https://mcp.urnextdoor.com/mcp",
"headers": {
"Authorization": "Bearer ${input:und-mcp-token}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "und-mcp-token",
"description": "Ur Next Door MCP token",
"password": true
}
]
}To get a token, open urnextdoor.com Settings, AI agents, tick what it may do (Read is always on; tick Write to create and edit, and Delete only if you want deletes) and click Create token. The page then shows a ready command with your token filled in. Keep the token secret: anyone with it can act as you. Revoke it there at any time.
Menus and file formats change; if a step does not match what you see, check your client's docs.
Custom agents and scripts
The server speaks MCP over Streamable HTTP, protocol 2026-07-28 (stateless) and the 2025 versions.
Sign in
Agents that can do OAuth can sign in: the server publishes protected resource metadata and authorization server metadata, supports client ID metadata documents and dynamic client registration, and requires PKCE (S256).
With an MCP token
Otherwise send your MCP token as a bearer token on every request.
curl
curl -s https://mcp.urnextdoor.com/mcp \
-H "Authorization: Bearer $UND_MCP_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "MCP-Protocol-Version: 2026-07-28" \
-H "Mcp-Method: tools/call" -H "Mcp-Name: whoami" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"whoami","arguments":{},
"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28",
"io.modelcontextprotocol/clientInfo":{"name":"curl","version":"1"},
"io.modelcontextprotocol/clientCapabilities":{}}}}'TypeScript (official MCP SDK v2)
import { Client, StreamableHTTPClientTransport } from '@modelcontextprotocol/client';
const transport = new StreamableHTTPClientTransport(new URL('https://mcp.urnextdoor.com/mcp'), {
requestInit: { headers: { Authorization: `Bearer ${process.env.UND_MCP_TOKEN}` } },
});
const client = new Client({ name: 'my-agent', version: '1.0.0' });
await client.connect(transport);
console.log((await client.listTools()).tools.map((t) => t.name));
console.log(await client.callTool({ name: 'whoami', arguments: {} }));Python (official MCP SDK)
import asyncio, os
import httpx
from mcp import ClientSession
from mcp.client.streamable_http import streamable_http_client
async def main():
headers = {"Authorization": f"Bearer {os.environ['UND_MCP_TOKEN']}"}
async with httpx.AsyncClient(headers=headers, timeout=30) as http:
async with streamable_http_client("https://mcp.urnextdoor.com/mcp", http_client=http) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
print(await session.call_tool("whoami", {}))
asyncio.run(main())The Python SDK has renamed its HTTP transport between versions (older releases call it streamablehttp_client and take headers=); check the SDK docs for your version.
To get a token, open urnextdoor.com Settings, AI agents, tick what it may do (Read is always on; tick Write to create and edit, and Delete only if you want deletes) and click Create token. The page then shows a ready command with your token filled in. Keep the token secret: anyone with it can act as you. Revoke it there at any time.
After connecting
Ask your AI to call whoami first: it shows the account, the permissions you granted and the quota left today. Then try "List my posts with the lowest SEO score and fix the worst one", or "Rewrite my latest answer so it does not read like AI, keep every fact".
Disconnect any time from Connected apps.