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.0.tar.gz (14.7 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.0-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plurity_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6e32a122f59d4f6c828d63a7ead30e3426810f5531661311333f162a2e80d7b4
MD5 c20605519487cfabfb710a95d019cfb3
BLAKE2b-256 71a2a8245eb1e5badbb262e8e2e152b2796e32d2b035e07daffd37b2ab59faa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for plurity_mcp-0.1.0.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.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for plurity_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f163eef1520505f04f3de00931594f35baf59cbf4af62e8cf418b618fffcad78
MD5 e30af5be9c79f57df0db532f5cc44951
BLAKE2b-256 1033aa97c118dc0be9541aca061f1668dc7fb09b1599114d51ac7ae927dbd9d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for plurity_mcp-0.1.0-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