Skip to content

Latest commit

 

History

History
82 lines (56 loc) · 2.73 KB

File metadata and controls

82 lines (56 loc) · 2.73 KB

AgentStack MCP — Quick Start

Get the AgentStack MCP server working in Cursor in under 2 minutes.

Flow: Create an anonymous project (no account) → get API key → add key in Cursor → use 60+ tools in chat. The MCP server allows GET /mcp/tools and projects.create_project_anonymous without X-API-Key so you can get a key before configuring Cursor.

Step 1: Get an API key

Option A — No account (try first):

  1. Create an anonymous project to get keys (no signup). From a terminal:
curl -X POST https://agentstack.tech/mcp/tools/projects.create_project_anonymous \
  -H "Content-Type: application/json" \
  -d '{"params": {"name": "My Cursor Project"}}'
  1. From the response, copy user_api_key (or api_key / project_api_key) — use it as your API key in Cursor.

Option B — With account:

  1. Sign in at AgentStack and create a project.
  2. In the project settings, create an API key.
  3. Use that key as X-API-Key below.

Step 2: Add MCP server in Cursor

  1. Open Cursor SettingsFeaturesModel Context Protocol (or MCP Servers).
  2. Click Add Server (or edit your MCP config file).
  3. Use the config from mcp.json in this repo:
    • Name: agentstack
    • Type: HTTP
    • Base URL: https://agentstack.tech/mcp
    • Headers: Add header X-API-Key with your API key.

Config file locations:

  • Windows: %APPDATA%\Cursor\User\globalStorage\mcp-config.json
  • macOS: ~/Library/Application Support/Cursor/User/globalStorage/mcp-config.json
  • Linux: ~/.config/Cursor/User/globalStorage/mcp-config.json

Example snippet for your MCP config:

{
  "mcpServers": {
    "agentstack": {
      "type": "http",
      "baseUrl": "https://agentstack.tech/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY_HERE"
      }
    }
  }
}
  1. Restart Cursor if the server does not appear.

Step 3: Use in chat

In Cursor Chat you can say:

  • "Create a new project called Test via AgentStack MCP"
  • "List my AgentStack projects"
  • "Get stats for project 1025"

The agent will call tools like projects.create_project_anonymous, projects.get_projects, projects.get_stats, etc.

If MCP doesn’t show up or tools don’t run

  • Check API key — valid key from AgentStack, no extra spaces in the header value.
  • Check Base URL — must be https://agentstack.tech/mcp.
  • Restart Cursor after changing MCP config.

Full tool list and docs

For all 60+ tools (Auth, Payments, Projects, Scheduler, Analytics, Rules, Webhooks, Notifications, Wallets), see the main docs: