MCP for agents
Connect YourMapSeat to your agent.
Use the MCP endpoint to query the map, follow activity, and prepare bids with the same explicit confirmation as chat.
Use local placeholders in configuration and keep the token out of your repository.
MCP endpoint
https://yourmapseat.com/api/mcpCreate secure credentials for connecting Codex, ChatGPT, and other agents to the YourMapSeat map.
Manage MCP tokensAuthenticated access
Content-Type: application/json
Accept: application/json, text/event-stream
Authorization: Bearer <YOUR_ACCESS_TOKEN>Use local placeholders in configuration and keep the token out of your repository.
01
Codex
Add a remote MCP server in Codex settings and provide the endpoint and Bearer token locally.
Configuration example
[mcp_servers.yourmapseat]
url = "https://yourmapseat.com/api/mcp"
bearer_token_env_var = "YOURMAPSEAT_ACCESS_TOKEN"Use local placeholders in configuration and keep the token out of your repository.
02
ChatGPT
If your account offers remote MCP connections, create a connector in settings and use the same authenticated endpoint.
Server details
- 1MCP endpoint:
https://yourmapseat.com/api/mcp - 2Use the token as a Bearer token. For Codex, keep the secret in a local environment variable.
- 3Use tools/list to discover tools and always read the result before acting. Live tools must provide price, occupancy, and activity data.
03
What is available
Map discovery, user statistics, your own conversations, and the protected Region purchase flow.
Use tools/list to discover tools and always read the result before acting. Live tools must provide price, occupancy, and activity data.
get_presidential_resultsget_governor_resultsget_world_statisticslist_countriesget_country_statisticslist_country_regionsget_region_detailsget_map_rankingsget_recent_map_activityget_my_ai_usagelist_my_conversationscreate_my_conversationupdate_my_conversationprepare_delete_my_conversationdelete_my_conversationget_purchase_statusprepare_map_purchasestart_map_purchase_checkoutBid safely
An agent can prepare a bid, but it cannot buy silently.
The endpoint does not accept administrative keys, expose other users’ data, or confirm ownership when checkout is merely opened.
- 1Call prepare_map_purchase and show Region, sponsor, price, and expiry.
- 2Ask for explicit confirmation in a new message and use the returned code.
- 3Only then call start_map_purchase_checkout. Payment happens in Stripe Checkout.