Bottomlines.ai MCP
A remote MCP server for your Pathfinder reports. Query publishers, apps and seat lines from ChatGPT, Claude, Cursor or any MCP client. Read only, your company only.
- 12 tools
- oauth 2.1
- streamable http
- read only
>what changed since the last report?
bottomlines changes report=latest
Report 2026-11-16, compared with the crawl of 2026-11-09.
Install
Hosted, so there is nothing to download and nothing to run.
Add it once, then /mcp to sign in.
claude mcp add --transport http bottomlines https://mcp.bottomlines.ai/mcpThe first call opens a browser: enter your work email, type the 6-digit code we send from reports@bottomlines.ai, then select Allow. The client keeps a refresh token, so you sign in once per client.
Settings, then Connectors, then Add custom connector, and paste the address.
https://mcp.bottomlines.ai/mcpClaude connector settingsOpens the page where a custom connector is added.
OpenOn a Team or Enterprise plan an Owner adds it once for everyone.
Settings, then Apps and connectors, then add a custom connector, and paste the address.
https://mcp.bottomlines.ai/mcpChatGPT connector settingsOpens the page where a custom connector is added.
OpenOn a Business or Enterprise workspace an admin may have to allow it first.
Add it, then sign in.
codex mcp add bottomlines --url https://mcp.bottomlines.ai/mcp
codex mcp login bottomlinesOr in ~/.codex/config.toml under [mcp_servers.bottomlines] with url = "https://mcp.bottomlines.ai/mcp".
One click, or the same two lines in ~/.cursor/mcp.json.
Add to CursorOpens Cursor with the server filled in, ready to confirm.
Add to Cursor{
"mcpServers": {
"bottomlines": { "url": "https://mcp.bottomlines.ai/mcp" }
}
}One click, one command, or .vscode/mcp.json in the project.
Add to VS CodeOpens VS Code with the server filled in, ready to confirm.
Add to VS Codecode --add-mcp '{"name": "bottomlines", "type": "http", "url": "https://mcp.bottomlines.ai/mcp"}'{
"servers": {
"bottomlines": { "type": "http", "url": "https://mcp.bottomlines.ai/mcp" }
}
}Any client that speaks MCP over Streamable HTTP with OAuth. Gemini CLI reads httpUrl, the Python and TypeScript SDKs take the address directly.
{
"mcpServers": {
"bottomlines": { "httpUrl": "https://mcp.bottomlines.ai/mcp" }
}
}A client with no remote support
{
"mcpServers": {
"bottomlines": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.bottomlines.ai/mcp"]
}
}
}Then /mcp auth bottomlines. There is also a ready file at /bottomlines.mcp.json.
Check the server is up and see the sign-in it points you to. Without a token every call is refused.
curl -i -X POST https://mcp.bottomlines.ai/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'HTTP/1.1 401 Unauthorized
www-authenticate: Bearer error="invalid_token",
resource_metadata="https://mcp.bottomlines.ai/.well-known/oauth-protected-resource/mcp"
{"error": "invalid_token",
"error_description": "Authentication required"}Verify
Confirm the connection, then the data.
Connection
claude mcp listAnswers bottomlines: connected. In a chat client the server appears in the connectors list with 12 tools.
First queries
- What changed since the last report?
- Which CTV apps carry our DIRECT line?
- Break down our publishers by ad system.
A correct answer names the report date and the crawl it is compared with, or says it cannot answer.
Tools
Twelve read-only tools. Counts are computed over the whole report, never estimated by the model.
| Tool | What it answers |
|---|---|
| get_started | Who is signed in, which customers and reports they can open, and what the words mean. |
| list_reports | The released reports, newest first, with both crawl dates and headline numbers. |
| report_overview | One report's totals: publishers, apps, websites, lines added and removed. |
| breakdown | Counts grouped by ad system, relationship, match type, platform or store. |
| changes | What moved since the compared crawl: lines added and removed, publishers gained and lost. |
| line_coverage | How far one seat line reaches: the publishers and apps carrying it. |
| tracked_lines | The seat lines this customer asked Bottomlines to watch. |
| list_publishers | Publisher rows, with a download link for the whole list. |
| list_apps | App and website rows, with a download link for the whole list. |
| list_partner_declarations | Publishers declaring an inventory partner (INVENTORYPARTNERDOMAIN). |
| search | Find a publisher, app or line across the reports, for clients that cite their sources. |
| fetch | Open one search result. |
Authentication
OAuth 2.1, the flow every remote MCP client already implements. This server is also the authorization server, at https://mcp.bottomlines.ai.
Discovery
An unauthenticated call returns
401with aWWW-Authenticateheader naming the resource metadata. The client reads it, finds the authorization server and registers.Authorization
A browser opens here. You enter your work email, we send a 6-digit code from
reports@bottomlines.ai, and you grant access to that client by name.Tokens
The authorization code, bound to the client by PKCE, is exchanged for a 1-hour access token and a 30-day refresh token. The client refreshes on its own, so you sign in once.
| Endpoint | What it is |
|---|---|
| POST /mcp | MCP, Streamable HTTP, JSON responses. Bearer token required. |
| GET /.well-known/oauth-protected-resource | Resource metadata (RFC 9728). Where a client starts. |
| GET /.well-known/oauth-authorization-server | Server metadata (RFC 8414). |
| POST /register | Dynamic client registration (RFC 7591), restricted to known clients and localhost. |
| GET /authorize | Sign-in. PKCE S256 required, redirect address matched exactly. |
| POST /token | authorization_code and refresh_token. Public clients, no secret. |
| POST /revoke | Token revocation (RFC 7009). |
Security
The server is public, so it is built to be useless to anyone outside your company.
No anonymous access
Every call is refused until a person has signed in and allowed that client. There is no API key and no unauthenticated read.
Two steps to sign in
A 6-digit code from reports@bottomlines.ai, then an explicit grant naming the client. Personal mail providers are refused.
One list of who is authorised
An address is admitted only when its domain is on your company's list, the same list your report links use. Blocked addresses stay blocked, with or without a +tag.
Short-lived, rotating tokens
Access tokens last one hour. Refresh tokens last 30 days and rotate on every use; replaying an old one ends the connection.
Read only, scoped to you
No tool writes. Answers are scoped to the customers the signed-in address belongs to, rechecked on every call rather than once at sign-in.
Rate limited and logged
Limits per connection, person, address and instance, and one switch that stops the server. Every call is logged for 90 days, never its rows.