Skip to main content

Algenta MCP Server

Model Context Protocol server for the Algenta API. It 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.

Full reference: docs.algenta.ai/sdk/mcp

Install

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.

Configure

export ALGENTA_API_KEY="<YOUR_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.

Cursor and Claude Desktop

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": "<YOUR_ALGENTA_API_KEY>",
        "ALGENTA_BASE_URL": "https://api.algenta.ai"
      }
    }
  }
}

Restart the client after changing its MCP configuration.

Codex

Add the stdio server to ~/.codex/config.toml:

[mcp_servers.algenta]
command = "algenta-mcp"

[mcp_servers.algenta.env]
ALGENTA_API_KEY = "<YOUR_ALGENTA_API_KEY>"
ALGENTA_BASE_URL = "https://api.algenta.ai"

Keep credentials in user-level configuration or environment variables, not in a repository.

Streamable HTTP

Start the remote transport:

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.

Connect modern clients to:

http://localhost:8001/mcp

The endpoint uses stateless Streamable HTTP and negotiates MCP protocol 2025-11-25. Algenta pins the official Python MCP SDK 1.28.1. Deprecated /mcp/sse and /mcp/messages routes remain for older clients but are not the default.

LangChain example:

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.

Security

  • Tool calls use Authorization: Bearer <ALGENTA_API_KEY> or the configured process credential.
  • Streamable HTTP validates Host and Origin to prevent DNS-rebinding access.
  • Standalone HTTP binds to loopback unless ALGENTA_MCP_HOST is explicitly changed.
  • Error payloads redact API-key material.
  • ALGENTA_BASE_URL is required when cloud access is disabled.
  • Put an authenticating gateway in front of a publicly reachable standalone MCP port.

Compatibility

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.

License

Apache-2.0

Download files

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

Source Distribution

algenta_mcp-1.0.11.tar.gz (68.3 kB view details)

Uploaded Source

Built Distribution

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

algenta_mcp-1.0.11-py3-none-any.whl (81.2 kB view details)

Uploaded Python 3

File details

Details for the file algenta_mcp-1.0.11.tar.gz.

File metadata

  • Download URL: algenta_mcp-1.0.11.tar.gz
  • Upload date:
  • Size: 68.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for algenta_mcp-1.0.11.tar.gz
Algorithm Hash digest
SHA256 28c97558752eeaf52294fa2ce4be305b402099c5611965c943d7164b3462af10
MD5 00854fea182e30af9b81877c0df7f0fd
BLAKE2b-256 1ca130ec3f678b22a2dd069ee97458b6766a736aff3513e699807f47d1f756c0

See more details on using hashes here.

File details

Details for the file algenta_mcp-1.0.11-py3-none-any.whl.

File metadata

  • Download URL: algenta_mcp-1.0.11-py3-none-any.whl
  • Upload date:
  • Size: 81.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for algenta_mcp-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 4df077abdc0d3d28ba0a545669c4b1e95e384e30178326702638f0dea3f99faf
MD5 e80c6672fdbcb50ff93dc5f39409fa91
BLAKE2b-256 02745fda98faec5eabb3ba5cdd7b9f0c99b8b9d56c34d7d2d92d92ec5bfeace8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.11 This release

2 files

1.0.10

2 files

1.0.9

2 files

1.0.8

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.0

2 files

Supported by

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