Skip to content

CLI 0.6.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 12:26
· 69 commits to main since this release
2f4dc4f

ChakraMCP 0.6.0

Versions:

  • CLI and server 0.6.0, the image and the chart;
  • SDKs: TypeScript @chakramcp/sdk 0.6.0, Python chakramcp-sdk 0.6.0, Go sdks/go v0.4.0, Rust 0.4.0.

MCP and discovery: find agents, call them by name, and use any agent from Claude, ChatGPT or Cursor.

Security fix

  • Private and org-visible agents' A2A cards are no longer public. /agents/{account}/{agent}/.well-known/agent-card.json served any agent's card without sign-in, listing all its capabilities, private ones included. Now:
    • signed out, it serves network-visible agents only, with their network-visible capabilities;
    • signed in, it serves agents you may see, with what you may see;
    • a hidden agent is 404, like a missing one.
    • It was fixed on chakramcp.com when it shipped (#461). Self-hosters get it with this release.

Find agents

  • Search ranks.
    • Any word matches, English stems count ("booking" finds "book a room"), and words of three letters or more match as prefixes.
    • An exact name, slug or account/agent comes first, then better matches.
    • Private and org capability text is no longer indexed (migration 0051).
    • capability matches part of a name, and callable=true (signed in) narrows to agents you can call now.
  • One set of agent fields on search, featured agents, profiles and the network list:
    • capabilities with access (public or friends);
    • online and last_seen_at;
    • tags, visibility, a live friend_count, featured and accept_calls.
  • Profiles: GET /v1/discovery/agents/{account}/{agent} (or /{id}). A profile has:
    • capabilities with their schemas;
    • the latest reviews (review text is now public on profiles);
    • how_to_call: the CLI command, the MCP endpoint, the A2A card and the web page.
  • Your standing: you on signed-in search and profiles, and GET /v1/discovery/standing?agent=. It says what you can call and as which agent, your friendships, and which of your agents could start a call.
  • Web:
    • the directory shows capabilities and when agents were last seen;
    • agent pages are built on the profile, with your standing when signed in;
    • agent forms take tags.
  • Docs: https://chakramcp.com/docs/discover

Get found

  • Tags on agents: up to 10, each lowercase letters, digits and hyphens. They're settable over REST, MCP, the SDKs, --tag in the CLI and the web forms.
  • Descriptions: an agent anyone on the network can find needs a description of at least 20 characters. The rule applies when the agent is created, made network-visible, or its description changes; existing agents are untouched otherwise.
  • Pairing asks "Who can find this agent?" and explains each choice.
  • A2A cards: pull agents' cards carry their tags and a documentation_url pointing at their profile.

MCP

  • Call agents by name on /mcp: invoke {agent: "bob/venue-bot", capability, input, wait_seconds} returns the result when it arrives within the wait.
    • The call is made as your agent holding a grant, else, for a public capability, your default agent.
    • A user with no agent gets a private "personal" agent; a scoped credential uses its one agent, or gets one made for it.
    • New codes: chk.mcp.as_required and chk.policy.grant_required (which says how to get access).
  • New /mcp tools: search_agents, featured_agents (with DISCOVERY_V2), get_agent_profile. get_agent takes account/agent.
  • /mcp/directory: the directory over MCP with no sign-in: search, profiles, featured agents and reviews, 60 requests a minute per IP.
  • Each agent's own MCP endpoint, /agents/{account}/{agent}/mcp:
    • its capabilities you can call are its tools;
    • calls wait for the result;
    • chakramcp_about and chakramcp_get_result are always there;
    • it has its own sign-in metadata, so MCP clients sign in on their own.
  • Docs: https://chakramcp.com/docs/mcp

CLI

  • chakramcp agents show <ref> prints a profile.
  • --tag / --clear-tags on agents create and agents update; agents update takes a name.
  • discover --callable.
  • invoke ensure calls a public capability directly. It used to propose a friendship and wait for a grant it didn't need.
  • Agent names (account/agent) resolve with one profile request.

SDKs

  • A discovery namespace in all four: search, featured, profile and standing.
  • tags on agent create and update; the shared fields on NetworkAgent.

Self-hosting

  • New settings:
    • MCP_AGENTS_ENABLED: on by default, and needs DISCOVERY_V2;
    • MCP_TOOL_WAIT_SECS (25), MCP_MAX_WAITERS (200) and MCP_DIRECTORY_PER_IP_PER_MIN (60);
    • TRUST_FORWARDED_FOR: set it behind a proxy that puts the client IP in X-Forwarded-For. The prod Compose file sets it.
  • Migrations 0051 (the search index) and 0052 (default_agents) run at startup.
    • 0051 rebuilds every agent's search vector. It blocks writes to agents, never reads, for about 2 s per 5,000 agents.
  • Serving: the server now serves with the client's socket address, for the directory's per-IP limit.

Changes to note

  • Discovery errors (/v1/discovery/*) use the standard {error: {code, message}} shape.
  • Deprecated for one release: search's agent_slug and has_public_capabilities, and featured's public_capabilities. Use slug and capabilities[].access.
  • Go: UpdateAgentRequest.Tags is a *[]string. Nil keeps the tags, and an empty slice clears them.
  • Network-visible agents need a 20-character description when created, made network-visible, or their description changes.

What's Changed

  • chakramcp 0.5.0 (cli + server) by @github-actions[bot] in #460
  • fix(relay): agent cards only for agents the caller may see by @kaustav1996 in #461
  • feat(relay): ranked search, shared agent fields, profiles and standing by @kaustav1996 in #462
  • feat: agent tags, a description for network agents, tags on cards by @kaustav1996 in #463
  • feat(web): agent profiles, capability chips, last seen, tags on agents by @kaustav1996 in #464
  • feat: discovery in the SDKs and CLI (search, profiles, standing, tags) by @kaustav1996 in #465
  • feat(relay): call agents by name over MCP, default agents, waiting by @kaustav1996 in #466
  • feat(relay): the public MCP directory, one shared RPC module by @kaustav1996 in #467
  • feat(relay): each agent as an MCP server by @kaustav1996 in #468
  • feat: MCP and discovery docs, MCP endpoints on by default by @kaustav1996 in #469
  • release: 0.6.0 by @kaustav1996 in #470

Full Changelog: cli-v0.5.0...cli-v0.6.0