List your integration on Town
Want Town customers to find your product in our integration directory? We prefer to connect to your hosted Model Context Protocol (MCP) server. Use this guide to prepare your server and request a listing.
Quick checklist
- Set up your MCP. Use a production HTTPS endpoint with Streamable HTTP and an authentication method Town supports. We prefer OAuth with PKCE.
- Complete any required allowlisting. If applicable, allow Town’s OAuth callback, approve Town’s OAuth client, and allow Town’s outbound IPs.
- Email your request. Send support@corp.town.com a link to your MCP documentation and the exact endpoint URL. Include your authentication method and confirm which setup steps you’ve completed. Don’t send secrets.
See the steps below for supported authentication methods, allowlist details, and what else to include.
1. Make your MCP server ready for customers
Use a stable, production HTTPS endpoint that Town can reach over Streamable HTTP. Town does not support servers that run locally over standard input/output (stdio) or use the older HTTP+SSE transport.
Your server must negotiate an MCP protocol revision Town supports: 2025-11-25, 2025-06-18, 2025-03-26, or 2024-11-05.
Use one shared MCP endpoint that works across customer accounts. If you only have tenant-specific URLs, tell us in your request. An individual customer may be able to connect through Custom MCP instead.
Town typically includes all tools available to the connected account, including tools that make changes. Some listings expose a defined subset, so the tools in the directory depend on the listing. Town reads up to 50 pages from tools/list and accepts up to 10 MiB per response. Keep your tool list within those limits and document what each tool does, the permissions it needs, and any customer admin steps.
2. Choose an authentication method
We prefer OAuth for access to customer accounts. Town uses the authorization code flow with PKCE (S256). If you issue refresh tokens, Town can use them to renew access in the background.
Publish your OAuth discovery metadata. The simplest option is to serve protected-resource metadata at /.well-known/oauth-protected-resource on the MCP host, with or without the MCP endpoint path appended. If you rely on a WWW-Authenticate challenge instead, return HTTP 401 or 403 with a resource_metadata URL in that header when Town makes an unauthenticated GET to the MCP URL with MCP-Protocol-Version: 2025-03-26. A POST-only challenge is not enough.
Include your OAuth issuer URL in the protected-resource metadata’s authorization_servers list, especially if your authorization server runs on a different host. Without that list, Town looks for authorization-server metadata on the MCP host.
Unless the listing specifies scopes, Town uses scopes_supported from your protected-resource metadata. If that field is absent, Town uses the scopes advertised by your authorization server. If the field is an empty list, Town sends no scope parameter. Town adds offline_access to a nonempty resource scope list if the authorization server advertises it.
Include the scopes your integration needs in your request if the advertised scopes are broader. If the listing limits which scopes are allowed, Town rejects token responses that report scopes outside that list. If Town rejects a grant because its explicit scope list leaves out a required scope, reconnect and approve the required permissions.
If you return a scope field, list every granted scope so reconnecting can succeed; you can omit the field entirely, and a refresh token satisfies offline_access.
Use none as the token endpoint authentication method for public clients, or client_secret_basic or client_secret_post for confidential clients. Town does not support other token endpoint authentication methods.
For dynamic registration, advertise the compatible methods in token_endpoint_auth_methods_supported. If your server only supports public clients, advertise none alone. If you omit the field, Town registers with client_secret_post by default.
| Method | What to set up |
|---|---|
| OAuth with a Client ID Metadata Document (CIMD) | Set client_id_metadata_document_supported to true in your authorization server metadata. Accept Town’s public metadata URL below as the client ID. This method does not use a client secret. |
| OAuth with Dynamic Client Registration (DCR) | Advertise registration_endpoint and accept Town’s HTTPS callback. Town can register a separate OAuth client for each connection. Accept both authorization_code and refresh_token grants in the registration request. If registration requires an initial access token, use a pre-registered client instead. |
| OAuth with a pre-registered client | Register one production OAuth client for Town to use across customer accounts, or tell us if Town must register it. If the client requires a secret, we will arrange a secure handoff. Include your setup instructions and any partner review form in the request. |
| API key, bearer token, or custom headers | Document how customers obtain their credentials, the exact header names, and the expected value formats. For automated preflight verification, document self-serve key creation without manual approval, return HTTP 400, 401, or 403 to an unauthenticated initialize request, and return a distinct status (for example 400 vs. 401 or 401 vs. 403) or invalid-credential rejection when Town sends a fake key in the configured header compared to an unknown header. |
| No authentication | Tell us if your server serves public data and does not require credentials. |
Town supports header-based and unauthenticated connections through Custom MCP. If your server does not use OAuth, tell us how it connects so we can assess it for a directory listing.
3. Complete any required allowlisting or review
OAuth redirects and client approval
If your OAuth server restricts redirect URIs, allow the production callback exactly as shown. Town redirects requests from town.com to www.town.com before OAuth setup, so you do not need to register a second callback.
| Field | Value |
|---|---|
| OAuth callback | https://www.town.com/api/mcp/oauth/callback |
| Town client ID for CIMD | https://www.town.com/.well-known/oauth-client-id |
For CIMD listings, Town can verify callback validation before sign-in at your advertised authorization endpoint. Town’s exact production callback must load a sign-in page without an OAuth error, either directly or after Town follows a redirect to your sign-in page. With the same client ID, Town tries an unregistered callback path and a different callback hostname. At least one must be rejected before sign-in, and neither can reach sign-in or redirect to the unregistered callback. A sign-in page alone does not verify callback validation.
If your MCP server restricts which clients may connect, approve Town for production access. For CIMD, approve the metadata URL as the client ID. For a pre-registered client, approve the registered client ID. If Town must complete part of your process, include the form or instructions and state which step needs Town’s help.
Network allowlists
If you restrict inbound traffic by IP, allow the production directory traffic below on the endpoints that handle it. The second group applies only to OAuth connections.
Customers open your OAuth authorization page in their own browsers. Make sure their browsers can reach it as well as the Town setup IPs below: Town may check the authorization endpoint before sign-in to determine whether to fall back from CIMD to dynamic registration.
| Traffic | Outbound IPv4 addresses |
|---|---|
| MCP requests and OAuth token refresh | 74.220.62.88, 74.220.62.89, 74.220.62.209 |
| OAuth connection setup: discovery, authorization checks, registration, and token exchange | 155.121.192.18, 155.121.192.19, 155.121.192.20, 155.121.192.21, 155.121.192.22, 155.121.192.23 |
If your MCP endpoint uses OAuth, allow both groups at the MCP URL itself. Town can contact that URL during OAuth discovery, before it makes any authenticated tool requests.
Other customers of our hosting provider also use the second group. An IP allowlist does not replace authentication or authorization for protected data and actions.
4. Send your listing request
After you complete the steps that apply on your side, email support@corp.town.com with:
- Your product name and a link to your MCP documentation.
- The exact production MCP URL, including its path.
- The authentication method and any required scopes, headers, or customer admin steps.
- Confirmation that you completed any required redirect, client, and network allowlisting. Note anything that does not apply or still needs action from Town.
- A short description of what customers can do with your tools and any access limits, such as supported plans or regions.
Do not email client secrets, API keys, access tokens, or passwords. We will review your request and follow up if we need more information.
If you do not have an MCP server
You can still email support@corp.town.com with an API integration request. Include a link to your API documentation. Describe what customers could do with the integration. We give priority to hosted MCP servers, so API-only requests are unlikely to move forward.
Town