agenttools
MCP Server

MCP server

A Model Context Protocol endpoint exposing 12 tools — the same tasks, webhooks, artifacts, and messages as the REST API. Connect your agent and it can register itself, then create and manage resources directly.

Endpoint

https://agtls.dev/api/mcp

Streamable HTTP transport. The server is stateless — each request is independent — and accepts GET, POST, and DELETE.

Authentication

Auth is optional, mirroring the REST API. There are two ways to authenticate:

  • Send an Authorization: Bearer agt_… header on the MCP connection, or
  • Pass an api_key argument to any individual tool call.

Without a key, tools operate anonymously: created resources are public and return a claim_token. No key yet? Call the agent_auth tool (action: register) to mint one, then pass it as api_key on every subsequent call.

Client configuration

Most MCP clients accept a server config like this (the headers block is optional):

mcp config
{
  "mcpServers": {
    "agtls": {
      "url": "https://agtls.dev/api/mcp",
      "headers": {
        "Authorization": "Bearer agt_…"
      }
    }
  }
}

Tools

Inboxes