Algenta MCP server for Cursor, Codex, and other Model Context Protocol clients. Any MCP-capable agent operates the engine — self-hosted building blocks for AI applications — metered and audited like every other caller.
pip install algenta-mcp==1.0.30 Copy PIP instructions
Model Context Protocol server for Algenta — self-hosted building blocks for AI applications.
Any MCP-capable agent operates the engine — metered and audited like every other caller. This server gives MCP-compatible agents access to governed data discovery, exact queries, decisions, simulations, runtime utilities, and account operations through the same public API contract used by the Algenta SDKs. The Algenta engine itself is proprietary; everything in this package is Apache-2.0.
pipx install algenta-mcp pip install algenta-mcp is also supported. The package includes its MCP transport dependencies; users do not install or manage a separate protocol package.
Introspection (initialize/tools/list) needs no credentials. Executing tools requires a free community login — device registration at algenta.ai (free): run algenta login, or create a key at https://app.algenta.ai/dashboard/api-keys, then set ALGENTA_API_KEY.
export ALGENTA_API_KEY=" " export ALGENTA_BASE_URL="https://api.algenta.ai" Use your deployment URL for self-hosted Algenta. Private deployment profiles fail closed rather than silently sending traffic to Algenta Cloud.
algenta-mcp uses stdio by default. Add this server to Cursor's ~/.cursor/mcp.json or Claude Desktop's MCP configuration:
{ "mcpServers": { "algenta": { "command": "algenta-mcp", "env": { "ALGENTA_API_KEY": " ", "ALGENTA_BASE_URL": "https://api.algenta.ai" } } } } Restart the client after changing its MCP configuration.
Add the stdio server to ~/.codex/config.toml:
algenta-mcp --mode http --port 8001 The standalone server binds to 127.0.0.1 by default. Set ALGENTA_MCP_HOST=0.0.0.0 only when an authenticated container ingress or gateway must expose it to another host.
import os from langchain_mcp_adapters.client import MultiServerMCPClient client = MultiServerMCPClient( { "algenta": { "transport": "http", "url": "http://localhost:8001/mcp", "headers": { "Authorization": f"Bearer {os.environ['ALGENTA_API_KEY']}" }, } } ) tools = await client.get_tools() Verify The human-readable discovery route is available alongside the protocol endpoint:
curl -s http://localhost:8001/mcp/tools | jq '.tools | length' In an MCP client, call get_contract first, then use list_data and get_data_summary before querying a dataset. Tool names, descriptions, and input schemas are returned by MCP tools/list.
Canonical environment variables are ALGENTA_API_KEY and ALGENTA_BASE_URL. Legacy DE_API_KEY, DE_BASE_URL, and ALGENTA_API_URL remain accepted for existing deployments.
mcp model-context-protocol cursor codex claude algenta agent tools agent-governance receipts approvals
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




