Skip to main content

Unified MCP server for all Plurity services (Audit, Toll, Intelligence)

Project description

plurity-mcp

Unified MCP server for all Plurity services — Audit, Toll, and Intelligence — using a single API key.

Installation

uvx plurity-mcp

Or install permanently:

uv tool install plurity-mcp

Quick start

1. Get an API key

Log in to account.plurity.ai → Settings → API Keys → Create key. Grant the scopes for each service you want to use (audit, toll, intelligence).

2. Run the setup wizard

plurity-mcp-setup

The wizard validates your key and saves it to ~/.config/plurity/config.toml.

3. Add to your MCP client

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "plurity": {
      "command": "uvx",
      "args": ["plurity-mcp"],
      "env": {
        "PLURITY_API_KEY": "plt_your_key_here"
      }
    }
  }
}

Configuration

Environment variables

Variable Default Description
PLURITY_API_KEY Your plt_* API key (required)
PLURITY_ACCOUNTS_URL https://account.plurity.ai Override accounts API URL
PLURITY_AUDIT_URL https://audit.plurity.ai Override Audit API URL
PLURITY_TOLL_URL https://toll.plurity.ai Override Toll API URL
PLURITY_INTELLIGENCE_URL https://intelligence.plurity.ai Override Intelligence API URL
PLURITY_AUDIT_ENABLED true Set to false to disable Audit tools
PLURITY_TOLL_ENABLED true Set to false to disable Toll tools
PLURITY_INTELLIGENCE_ENABLED true Set to false to disable Intelligence tools

Config file (~/.config/plurity/config.toml)

[mcp]
api_key = "plt_..."
accounts_url = "https://account.plurity.ai"
audit_base_url = "https://audit.plurity.ai"
toll_base_url = "https://toll.plurity.ai"
intelligence_base_url = "https://intelligence.plurity.ai"
audit_enabled = true
toll_enabled = true
intelligence_enabled = true

Environment variables take precedence over the config file.

Service activation

On startup the server:

  1. Validates your API key against plurity-accounts
  2. Reads the key's scopes (e.g. ["audit", "toll"])
  3. Registers only the tools for services the key is scoped for
  4. Applies your *_ENABLED overrides — you can disable services the key has access to, but you cannot enable services the key lacks a scope for

If the key is invalid the server exits immediately with a clear error message visible in your MCP client.

Tools

Audit (GEO readiness)

Tool Description
submit_audit_scan Queue a URL for AI-readiness analysis
get_audit_scan Get scan status and results by ID
get_audit_scan_by_url Look up the latest scan for a URL
run_audit Submit and wait until complete (blocking)

Toll (agent traffic + llms.txt)

Tool Description
list_toll_sites List your sites/pages
create_toll_site Create a new site
get_toll_site Get site details including site key
update_toll_site Update name, domain, cache TTL, llms.txt mode
get_toll_installation_instructions Get integration code snippets for HTML/Next.js/React/GTM
list_toll_qa_pairs List Q&A pairs in a site's llms.txt
create_toll_qa_pair Add a Q&A entry to llms.txt
update_toll_qa_pair Edit a Q&A entry (or publish/unpublish it)
delete_toll_qa_pair Remove a Q&A entry
get_toll_traffic Agent traffic chart data (today/week/month/year)

Intelligence (question & topic monitoring)

Tool Description
list_intelligence_sources Browse the global source catalogue
list_subscribed_intelligence_sources List sources your org follows
subscribe_intelligence_source Subscribe to a source
unsubscribe_intelligence_source Unsubscribe from a source
request_intelligence_source Add a new source by URL (auto-subscribes)
list_intelligence_source_content List raw scraped documents
list_intelligence_qa_pairs Browse the Q&A feed with filters
approve_intelligence_qa_pair Move a Q&A pair into your knowledge base
skip_intelligence_qa_pair Dismiss a Q&A pair from the feed

Development

git clone https://github.com/plurity-oss/plurity-mcp
cd plurity-mcp
uv sync
uv run plurity-mcp-setup    # set up key
uv run plurity-mcp          # run locally

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plurity_mcp-0.1.1.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plurity_mcp-0.1.1-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file plurity_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: plurity_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for plurity_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 98ed3c441abca9a62653f9ff83860ebab1ded4e54c614dacfb3ac8c5a4ff5fd9
MD5 37f3ef8a3194c211be6a1c7e464ba351
BLAKE2b-256 29794c7e025de349f581197ba729b383da60a2c75730e45cf55a14d950642e50

See more details on using hashes here.

Provenance

The following attestation bundles were made for plurity_mcp-0.1.1.tar.gz:

Publisher: publish.yml on plurity-ai/plurity-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file plurity_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: plurity_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for plurity_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc2f45919b956b0d5059d45cf73c8d9bf448d825064a8133c4bdea2e86fd521c
MD5 2ae076faa24e3fa6fd51aa63d17a3615
BLAKE2b-256 983fdaeb7c45c7d9bde087586bf5d13e32b7b00dcfb673465ecfeaa60aba4cf1

See more details on using hashes here.

Provenance

The following attestation bundles were made for plurity_mcp-0.1.1-py3-none-any.whl:

Publisher: publish.yml on plurity-ai/plurity-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page