Skip to main content

MCP server for the Agentis agent identity registry

Project description

agentis-mcp

An MCP (Model Context Protocol) server that connects any MCP-compatible AI orchestrator to the Agentis agent identity registry. It exposes four tools: searching the registry by capability, verifying a specific agent by DID, fetching registry statistics, and reading the cryptographic audit trail for an agent.

Install

pip install agentis-mcp

Usage with Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "agentis": {
      "command": "python",
      "args": ["-m", "agentis_mcp.server"]
    }
  }
}

The config file is located at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Restart Claude Desktop after saving. The Agentis tools will appear in the tool list.

Usage with any MCP client

import asyncio
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client

server_params = StdioServerParameters(
    command="python",
    args=["-m", "agentis_mcp.server"],
)

async def main():
    async with stdio_client(server_params) as (read, write):
        async with ClientSession(read, write) as session:
            await session.initialize()

            # List available tools
            tools = await session.list_tools()
            for tool in tools.tools:
                print(tool.name, "-", tool.description[:60])

            # Search for agents that can read invoices
            result = await session.call_tool(
                "search_agents",
                {"capability": "invoices:read", "min_tier": 2},
            )
            print(result.content[0].text)

            # Verify a specific agent
            result = await session.call_tool(
                "verify_agent",
                {"did": "did:web:agentis.dev:agents:28e83dff641920ad"},
            )
            print(result.content[0].text)

asyncio.run(main())

Available tools

search_agents

Search the registry for active agents. Optionally filter by capability ID and minimum verification tier.

Parameters:

  • capability (string, optional): capability ID to filter by, e.g. "invoices:read"
  • min_tier (integer, optional, default 1): minimum verification tier (1=email, 2=individual, 3=company)
  • limit (integer, optional, default 10, max 50): number of results to return

verify_agent

Look up a specific agent by its DID and return its full verified identity. Use this before delegating sensitive work to an agent.

Parameters:

  • did (string, required): the agent's DID, e.g. "did:web:agentis.dev:agents:28e83dff641920ad"

get_registry_stats

Return aggregate statistics about the registry: agent counts by status, developer counts by tier, and Agent Card coverage.

No parameters.

get_audit_trail

Fetch the cryptographic audit chain for an agent. Each record includes a hash of the previous one, so any tampering breaks the chain.

Parameters:

  • did (string, required): the agent's DID
  • api_key (string, required): your Agentis API key (starts with agentis_)

Links

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

agentis_mcp-0.1.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

agentis_mcp-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentis_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for agentis_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3765e6afa68bd021985f2b52cef49bc4eaf09e506d9f0a2414524c318d3adbb6
MD5 a6fddb0b15d529d39aee5c1607335619
BLAKE2b-256 f04d2d86c34b96a2c30ba9e8c81552af9fc89d2ef793c72a51c555b472fcb955

See more details on using hashes here.

File details

Details for the file agentis_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agentis_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for agentis_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7bca825378f3de60ba26ab19fb394b79f12f7caf6881a62b25ebdf5cae4aae0
MD5 05ca312025aa3a58a33ac97974c3c592
BLAKE2b-256 1e69f0950a392a7988084ce355f5d5d5b05d23fcd2ff68b02dfb6b9ea179b5a4

See more details on using hashes here.

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