Skip to content

MCP Server ​

Pricore includes a Model Context Protocol (MCP) server, so AI assistants such as Claude, Cursor and VS Code can look up your packages, versions and vulnerabilities, and handle routine registry tasks for you.

The server is available at https://pricore.example.com/mcp. Clients sign in with your Pricore account through OAuth, so there is no token to create or paste.

Connecting a Client ​

Claude Code ​

bash
claude mcp add --transport http pricore https://pricore.example.com/mcp

Run /mcp in Claude Code and choose Authenticate to sign in.

Claude Desktop and claude.ai ​

Go to Settings > Connectors, choose Add custom connector and enter the /mcp URL. Connectors are reached from Anthropic's servers, so Pricore must be accessible from the internet.

Cursor and VS Code ​

Add Pricore as a remote MCP server using the /mcp URL. For example, in .cursor/mcp.json or .vscode/mcp.json:

json
{
  "servers": {
    "pricore": {
      "type": "http",
      "url": "https://pricore.example.com/mcp"
    }
  }
}

Authorizing ​

When a client connects for the first time, your browser opens Pricore. Sign in if needed, review the request and choose Authorize. The client then receives a token that it refreshes automatically.

Tools ​

ToolDescriptionRequired role
list-organizationsOrganizations you belong to, with your role and Composer repository URLAny
search-packagesSearch packages by name or descriptionMember
get-packageVersions, requirements and advisories of a package versionMember
list-vulnerabilitiesSecurity advisories affecting the latest stable version and dev branches of each packageMember
list-repositoriesConnected repositories and their sync statusMember
sync-repositoryQueue a repository syncAdmin or owner
add-repositoryConnect a repository and start its first syncAdmin or owner
create-access-tokenCreate an organization Composer tokenAdmin or owner

Permissions ​

An MCP client acts as you. It can reach every organization you belong to, and each tool checks your role in that organization exactly like the web interface does. Deleting packages or repositories, managing members and changing organization settings are not available through MCP.

Tokens created with create-access-token are returned to the assistant once, so treat the conversation as you would any place a secret is shown.

Revoking Access ​

Go to Settings > Connected Apps to see the clients you have authorized and revoke any of them. A revoked client stops working immediately and has to be authorized again to reconnect.

Self-Hosting ​

The MCP server is enabled by default. See MCP Server configuration to disable it, restrict redirect URIs or provide your own OAuth keys.

Released under the Apache 2.0 License.