expose-agentkit-mcp

Installation
SKILL.md

Expose AgentKit over MCP

Create an AgentKit MCP config, mint a per-run session token, and make one Streamable HTTP client call. Then stop.

Guardrails

  • MUST use Streamable HTTP. stdio and SSE are not supported.
  • MUST pass the exact dashboard Connection Name (connection_name). Never invent a slug. Never use a connector field for that value.
  • MUST reuse one static mcp_server_url. Mint a session token per identifier and per run with create_session_token.

Gotchas

  • Read SDK credentials from SCALEKIT_ENVIRONMENT_URL, SCALEKIT_CLIENT_ID, and SCALEKIT_CLIENT_SECRET. Some samples use SCALEKIT_ENV_URL; use SCALEKIT_ENVIRONMENT_URL here. Do not prepend https:// if the value already has a scheme.
  • A connection is dashboard connector config. A connected account is one user authorized on that connection. This skill authorizes through list_mcp_connected_accounts auth links, not integrate-agentkit app-code token calls.
  • create_session_token is remint. Call it again before the next run. Do not reuse a token from a previous session.
  • Gmail can use Connection Name gmail when the dashboard has no Gmail row. Every other connector must already have a dashboard connection. Record that name exactly.
  • Default language is Python. The Node SDK has no MCP config API. Stay on Python.
  • Look up tool names with discover-connectors. Do not copy connector pages into the repo.
Installs
8
GitHub Stars
1
First Seen
Aug 28, 2026
expose-agentkit-mcp — scalekit-inc/authstack