Developers · MCP

CentralSource MCP server

Use the MCP server when an AI assistant or agent that speaks MCP (Model Context Protocol) should look things up itself. It picks a tool (search, lookup, full knowledge) as the conversation goes, and gets only the business's live, current information that the key is allowed to see. Writing your own code instead? Use the REST API with the same key.

Business owner rather than developer? See Connect your AI.

1. Server address and transport

  • URL: https://api.centralsource.com.au/mcp
  • Transport: Streamable HTTP, stateless (no sessions). Requests are POST with JSON responses; there is no SSE stream, and GET returns 405
  • For servers and desktop apps, not web pages: requests from a browser page on another site are refused

2. Authenticate with an API key

The business owner creates a key in the dashboard under Account → Connected apps (direct link): they name the assistant, choose Who does it talk to? (anyone, existing customers or staff) and select Create key. The key starts with cs_live_ and is shown once. Send it as Authorization: Bearer cs_live_…. A key is read-only. A business owner who wants their own AI to fill in information signs in instead: see the owner connector below. For a key, your MCP client needs to support remote servers with a custom header. The examples below are for clients that do.

3. Add it to your client

Claude Code

claude mcp add --transport http centralsource https://api.centralsource.com.au/mcp \
  --header "Authorization: Bearer cs_live_your_key"

Add --scope user to use it in every project. Run /mcp in Claude Code to check it connected.

Claude Desktop

The Add custom connector screen signs in with OAuth (the owner connector below) and doesn't take an API key. To connect with a key, use the open-source mcp-remote bridge (needs Node.js) in claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "centralsource": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://api.centralsource.com.au/mcp",
        "--header",
        "Authorization:${CS_AUTH}"
      ],
      "env": { "CS_AUTH": "Bearer cs_live_your_key" }
    }
  }
}

Keep Authorization: and the variable with no space between them; this avoids a known problem with spaces in arguments on Windows.

Cursor

In ~/.cursor/mcp.json, or .cursor/mcp.json in a project:

{
  "mcpServers": {
    "centralsource": {
      "url": "https://api.centralsource.com.au/mcp",
      "headers": { "Authorization": "Bearer ${env:CS_KEY}" }
    }
  }
}

VS Code

In .vscode/mcp.json; VS Code asks for the key the first time and stores it securely:

{
  "inputs": [
    { "type": "promptString", "id": "cs-key", "description": "CentralSource API key", "password": true }
  ],
  "servers": {
    "centralsource": {
      "type": "http",
      "url": "https://api.centralsource.com.au/mcp",
      "headers": { "Authorization": "Bearer ${input:cs-key}" }
    }
  }
}

OpenAI Responses API

As a remote MCP tool; OpenAI's servers call ours with your header:

curl https://api.openai.com/v1/responses \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5",
    "input": "Does the business service postcode 3058?",
    "tools": [{
      "type": "mcp",
      "server_label": "centralsource",
      "server_url": "https://api.centralsource.com.au/mcp",
      "headers": { "Authorization": "Bearer cs_live_your_key" },
      "require_approval": "never"
    }]
  }'

n8n

Add an MCP Client Tool to an AI Agent node (n8n 1.104 or later), set the endpoint to https://api.centralsource.com.au/mcp, the transport to HTTP Streamable and authentication to Bearer Auth with the key.

Check a key from the command line

curl https://api.centralsource.com.au/mcp \
  -H "Authorization: Bearer $CS_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

4. The tools

  • get_all_knowledge: everything the key may see as one Markdown text; call it once at the start of a conversation
  • search_knowledge: search the business's live information with a question; returns found:false when nothing covers it
  • lookup_fact: exact match on a structured field, such as a postcode or SKU
  • list_records: titles and short summaries of live records, optionally of one kind
  • get_record: the current live version of one record, by id
  • get_business_profile: identity, locations, contact details, opening hours and service areas

Tool calls use the same monthly allowance as the REST API: on the free plan, 1,000 assistant questions a month (see allowances).

5. Keys are read-only

Every tool above is marked read-only, and an assistant connected with a key can't add or change anything. Changes are made by the business: in the dashboard, or from the owner's own AI app through the owner connector.

6. Owner connector: sign in from Claude or ChatGPT (OAuth)

Available now. A business owner, or someone on their team, adds https://api.centralsource.com.au/mcp as a custom connector in Claude, ChatGPT or another MCP client that supports OAuth, signs in to CentralSource, chooses the business and allows it. There is no key to copy. The owner-facing steps are on Connect your AI.

  • Discovery: OAuth 2.1 authorization code with PKCE (S256). Metadata is at https://api.centralsource.com.au/.well-known/oauth-protected-resource and https://api.centralsource.com.au/.well-known/oauth-authorization-server; dynamic client registration and client ID metadata documents are supported
  • Access: the person chooses Read your information or Read and update your information on the consent screen, and can disconnect the app in the dashboard under Account → Connected apps
  • The connection acts as the person who signed in, with their role in the business, so it can never do more than they can

As well as the read tools above, a signed-in connection gets these owner tools:

  • get_missing_information: what the business has not provided yet, most important first, with the question to ask for each
  • get_setup_status: the listing's readiness score and the next steps that would raise it most
  • get_business_details: the name, description, contact details, address, opening hours and where the business supplies, marked live or being checked
  • list_topics_and_questions: the details customers usually ask this type of business about, with the question and fields for each
  • update_business_details: submits business details (needs update access)
  • add_answers: submits answers to the missing items (needs update access)
  • add_notice: adds a short-term notice, such as a holiday closure (needs update access)
  • list_being_checked: what CentralSource is still checking, and anything it did not approve, with the reason

What happens to a submission: there are no drafts, and nothing waits for the owner. Basic details (business name, short description, hours, public holidays, address, where the business supplies, notices) go live straight away. Everything else is checked by CentralSource before it reaches an assistant or the directory listing: an automatic check that usually takes a few minutes, and a person when needed. Photos, and a new account's first 7 days, are always checked by a person, usually within one business day. Each tool result says which happened. Anything CentralSource does not approve appears in the dashboard under Being checked, with the reason, for the business to change and save again.

Security and privacy

  • Each key belongs to one business and only ever sees that business's information
  • Each key has an audience chosen when it's created: anyone (public information), existing customers, or staff. It sees information for that audience and below, and only live information that is in force now
  • Keys created in the dashboard can read, never change
  • The owner can disconnect a key at any time under Account → Connected apps; it stops working immediately
  • MCP results are labelled as reference data, not instructions, so an assistant shouldn't treat business content as commands
  • Information is stored in Australia. Questions assistants ask are kept so the business can see them; see the privacy policy and our security page

Writing your own code?

See the REST API