MCP server for the Provenance platform — connect AI agents to your provenance data
Project description
Provenance MCP Server
Model Context Protocol server for the Provenance platform — connect AI agents to your provenance data.
Installation
pip install provenance-mcp
Quick Start
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"provenance": {
"command": "provenance-mcp",
"env": {
"PROVENANCE_API_URL": "https://your-api.provenance.dev/api",
"PROVENANCE_API_KEY": "your-api-key"
}
}
}
}
Amazon Q Developer
Add to your Amazon Q MCP config:
{
"mcpServers": {
"provenance": {
"command": "provenance-mcp",
"env": {
"PROVENANCE_API_URL": "https://your-api.provenance.dev/api",
"PROVENANCE_API_KEY": "your-api-key"
}
}
}
}
Cursor / Windsurf / Other MCP Clients
Same pattern — set the command to provenance-mcp and provide the env vars.
Authentication
API Key (default)
provenance-mcp
Set PROVENANCE_API_KEY in your environment or MCP client config.
OAuth2 (client credentials)
provenance-mcp-oauth
Set PROVENANCE_CLIENT_ID and PROVENANCE_CLIENT_SECRET. Tokens auto-refresh on expiry.
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
PROVENANCE_API_URL |
Yes | http://localhost:4000/api |
Provenance API base URL |
PROVENANCE_API_KEY |
Yes* | — | API key for authentication |
PROVENANCE_CLIENT_ID |
Yes** | — | OAuth2 client ID |
PROVENANCE_CLIENT_SECRET |
Yes** | — | OAuth2 client secret |
PROVENANCE_PLATFORM_URL |
No | https://provenance-platform.onrender.com |
Platform URL (OAuth mode) |
* Required for provenance-mcp
** Required for provenance-mcp-oauth
Available Tools
The server exposes 80+ tools covering the full Provenance API:
Core
- query_interactions — Search interactions by resource, action, origin, time range, spanId, parentSpanId
- create_interaction — Record a new provenance event (accepts optional
spanIdandparentSpanIdfor span hierarchy) - search_activity — Advanced multi-filter search
- get_trace — Get full interaction history for a resource
Configuration
- get/create/update/delete_resource_type — Manage resource types
- get/create/update/delete_action — Manage actions
- get/create/update/delete_origin — Manage origins
Analytics
- query_analytics — Run analytics queries with metrics, dimensions, filters
- get_home_dashboard — Get dashboard summary data
- get/create/update/delete_dashboard — Manage dashboards
- get/create/update/delete_widget — Manage dashboard widgets
- get_widget_data — Get rendered widget data
Notifications
- get/create/update/delete_subscriber — Manage notification subscribers
- get/create/update/delete_subscription — Manage event subscriptions
- pause/resume_subscription — Control subscription state
- get_queue_stats / process_queue — Monitor notification queue
Alerting
- get/create/update/delete_interaction_alert — Manage alerts
- get_alert_states / evaluate_alerts — Monitor alert status
- get/create/update/delete_interaction_metric — Manage metrics
- calculate_metric — Calculate metric values
Inbound Webhooks
- get/create/update/delete_inbound_source — Manage webhook sources
- get/create/update/delete_inbound_mapping — Manage payload mappings
- test_inbound_mapping — Test mappings against sample payloads
Secrets
- get/create/update/delete_secret — Manage secrets
- test_secret — Verify secret resolution
- get/create/update/delete_secret_provider — Manage provider connections
Adapters
- get_adapters / get_adapter — Browse notification adapters
- publish_adapter — Publish custom adapters
- get/create/update/delete_adapter_setting — Manage adapter config
Development
git clone https://github.com/stdiolabs/provenance-mcp.git
cd provenance-mcp
pip install -e .
# Run locally
PROVENANCE_API_KEY=your-key provenance-mcp
Related Projects
- Provenance API — Backend REST API
- Provenance UI — Web dashboard
- Provenance CLI — Command-line interface
- Provenance SDK — Node.js SDK
License
MIT — STDIO Labs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file provenance_mcp-1.1.0.tar.gz.
File metadata
- Download URL: provenance_mcp-1.1.0.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59a87318dd09bff16fdee2cb42fc11623029798929cc8a5b130c0c3f431d7719
|
|
| MD5 |
1fd9355a37fde8885acd3954a27e85f7
|
|
| BLAKE2b-256 |
1c5ab112a3b97d87132c1f2d21e0a59638cb3f9dbd05b8afea182b0e82f7370a
|
Provenance
The following attestation bundles were made for provenance_mcp-1.1.0.tar.gz:
Publisher:
publish-python.yml on stdiolabs/provenance_mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
provenance_mcp-1.1.0.tar.gz -
Subject digest:
59a87318dd09bff16fdee2cb42fc11623029798929cc8a5b130c0c3f431d7719 - Sigstore transparency entry: 1347149490
- Sigstore integration time:
-
Permalink:
stdiolabs/provenance_mcp@dab367582f60e74448c35359a78acd916a14c21b -
Branch / Tag:
refs/tags/v1.1.0-beta - Owner: https://github.com/stdiolabs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@dab367582f60e74448c35359a78acd916a14c21b -
Trigger Event:
release
-
Statement type:
File details
Details for the file provenance_mcp-1.1.0-py3-none-any.whl.
File metadata
- Download URL: provenance_mcp-1.1.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37b823b0bbe980dcad360a0dcc5943af7e66ebf3fcb5cb3823972e05595817a2
|
|
| MD5 |
76322967c833e626a06a7c0af498cf96
|
|
| BLAKE2b-256 |
e25bad28438abc85a28f1253fce1535859131b48c48de0316ecbab3c9a7cec10
|
Provenance
The following attestation bundles were made for provenance_mcp-1.1.0-py3-none-any.whl:
Publisher:
publish-python.yml on stdiolabs/provenance_mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
provenance_mcp-1.1.0-py3-none-any.whl -
Subject digest:
37b823b0bbe980dcad360a0dcc5943af7e66ebf3fcb5cb3823972e05595817a2 - Sigstore transparency entry: 1347149574
- Sigstore integration time:
-
Permalink:
stdiolabs/provenance_mcp@dab367582f60e74448c35359a78acd916a14c21b -
Branch / Tag:
refs/tags/v1.1.0-beta - Owner: https://github.com/stdiolabs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@dab367582f60e74448c35359a78acd916a14c21b -
Trigger Event:
release
-
Statement type: