Other sections: Overview and architecture · Tools reference · Features and examples
MCP is available in the cloud at agentstack.tech — no local server setup required.
- Get an API key: Sign up at agentstack.tech and create a project in the dashboard, or create an anonymous project with a single request (see below).
- Configure the plugin (Cursor, Claude, VS Code, or GPT): Set MCP URL to
https://agentstack.tech/mcpand your API key. 60+ actions are available in chat.
Check availability:
# List available tools (no key required)
curl https://agentstack.tech/mcp/toolsCursor supports MCP servers over HTTP. Configure as follows:
Create cursor-mcp-config.json in your home directory or in Cursor settings:
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
{
"mcpServers": {
"agentstack": {
"type": "streamable-http",
"url": "https://agentstack.tech/mcp",
"headers": {
"Content-Type": "application/json",
"X-API-Key": ""
},
"tools": {
"enabled": true,
"autoDiscover": true
}
}
}
}Put your API key in X-API-Key (see Getting an API key to obtain one).
After adding the configuration, restart Cursor for changes to take effect.
- Open Cursor
- Go to Settings → Features → MCP Servers
- Click Add Server
- Fill in the form:
- Name:
agentstack - Type:
Streamable HTTP - URL:
https://agentstack.tech/mcp - Headers:
Content-Type: application/json,X-API-Key: your API key (if required)
- Name:
- Save settings
If the MCP server is running, you can use it directly via the HTTP API in Cursor chat:
Create a project via MCP:
POST https://agentstack.tech/mcp/tools/projects.create_project_anonymous
Body: {"tool": "projects.create_project_anonymous", "params": {"name": "Test Project"}}
If an API key is required for authentication:
- Create an anonymous project (get API key):
curl -X POST https://agentstack.tech/mcp/tools/projects.create_project_anonymous \
-H "Content-Type: application/json" \
-d '{
"tool": "projects.create_project_anonymous",
"params": {
"name": "My Project"
}
}'- Use the returned
api_keyin Cursor configuration
After setup you can use MCP tools directly in Cursor chat:
Create a new project via MCP named "My Test Project"
Cursor will automatically call projects.create_project_anonymous with the parameters.
Show all my projects via MCP
Add user user@example.com to project 1025 with role member
Note: add_user and remove_user require a Professional subscription.
If the MCP server is not working in Cursor:
- Check MCP availability:
curl https://agentstack.tech/mcp/tools-
Check Cursor logs:
- Open Developer Tools (Ctrl+Shift+I / Cmd+Option+I)
- Go to Console
- Look for MCP connection errors
-
Check configuration:
- Ensure
url=https://agentstack.tech/mcpandtype=streamable-http - Ensure the API key in
X-API-Keyis correct (no extra spaces)
- Ensure
Create an anonymous project "My AI Project" via MCP and show the API key
Show all users of project 1025 via MCP
Create a new API key for project 1025 named "Development Key"
Show stats for project 1025 via MCP
Show the last 10 activity events for project 1025
If MCP setup in Cursor does not work, you can use an HTTP client directly in code:
import httpx
async def create_project_via_mcp(name: str):
async with httpx.AsyncClient() as client:
response = await client.post(
"https://agentstack.tech/mcp/tools/projects.create_project_anonymous",
json={
"tool": "projects.create_project_anonymous",
"params": {"name": name}
}
)
return response.json()MCP is available at https://agentstack.tech/mcp. No extra environment variables are required.
Request in Cursor:
Create a new test project via MCP named "Test Project" and describe what you got
What happens:
- Cursor calls
projects.create_project_anonymous - Gets
project_id,api_key,auth_key - Shows the result in chat
Cursor response:
✅ Project created successfully!
Project ID: 1025
API Key: ask_abc123xyz...
Auth Key: ask_abc123xyz...
You can now use this API key to work with the project.
Request in Cursor:
Attach project 1025 to user with email user@example.com. Use auth_key: ask_abc123xyz...
What happens:
- Cursor calls
projects.attach_to_user - Project ownership is transferred to the user
- A new API key is created for the owner
Request in Cursor:
Show info for project 1025: stats, users, settings
What happens:
- Cursor calls several tools:
projects.get_project— main infoprojects.get_stats— statsprojects.get_users— user listprojects.get_settings— settings
- Aggregates results and shows them in a readable form
Request in Cursor:
Create a new API key for project 1025 named "Production Key" and show it
What happens:
- Cursor calls
projects.create_api_key - Gets the new key
- Shows it (
⚠️ save it — it is only shown once)
Request in Cursor:
Show the last 20 activity events for project 1025
What happens:
- Cursor calls
projects.get_activitywithlimit=20 - Shows the list of events with timestamps
- Always save API keys — they are only shown once when created
- Use anonymous creation for quick testing
- Attach projects to real users for production
- Check subscription before adding users (Professional required)
- Use trace_id when debugging issues
Solution:
- Ensure the MCP server is running
- Check that the tool name is correct (with dot:
projects.create_project) - Check Cursor configuration
Solution:
- Check that the server is running on port 8000
- Check firewall settings
- Ensure
urlin config is correct (https://agentstack.tech/mcp)
Solution:
- This is expected — Professional subscription is required
- Upgrade the user's subscription or use another method
Solution:
- Use the correct
auth_keyfrom the anonymous creation response - Check that the project is not already attached to another user