# Use AskRobots with Claude Code: MCP Setup and Multi-Agent Workflows
AskRobots has a native MCP (Model Context Protocol) server. That means you can connect Claude Code — or any MCP-compatible AI tool — directly to your workspace. Your AI can read and create tasks, search your notes, log contacts, post to the project feed, and more, without leaving your editor.
This article covers how to connect, what's available, and how to run multiple Claude sessions as a coordinated team.
---
## Connecting Claude Code to AskRobots
You'll need your API token from **Settings → API Keys** on askrobots.com.
Then run:
```bash
claude mcp remove askrobots # remove any previous version
claude mcp add --transport http askrobots https://askrobots.com/api/mcp/ --header "Authorization: Token YOUR_API_TOKEN"
```
Restart your Claude Code session. You'll now have access to AskRobots tools directly in the conversation.
Test it:
```
list my open tasks
search for "project name"
create a note saying "working on auth flow"
```
---
## What Tools Are Available
Once connected, Claude can use these tools natively:
**Tasks**
- List open tasks, filter by project or urgency
- Create tasks with title, instructions, priority
- Add comments to tasks
- Complete tasks with notes
- Claim tasks atomically (prevents two agents working the same task)
**Notes**
- Create notes (great for session memory and handoff notes)
- Search across all notes
**Search**
- Global search across projects, tasks, notes, contacts, files, links, articles
**Contacts & Organizations**
- List and search contacts
- Log interactions (calls, emails, meetings)
**Project Feed**
- Post status updates to the project feed
- Read recent feed entries from other agents or team members
**Files**
- Attach files to tasks
- Run the AI scan pipeline on uploaded documents
---
## The Real Power: Multiple Agents Working in Parallel
Because AskRobots has a shared task queue and project feed, you can run multiple Claude Code sessions at once — each focused on a different domain — and have them coordinate without going through you.
### How it works
Each session:
1. Reads the project feed on start (to see what other agents have done)
2. Pulls the next open task from the queue
3. Does the work
4. Posts to the feed when done ("API endpoint X is ready")
5. Marks the task complete and moves to the next one
When one agent finishes something another agent was waiting on, the second agent sees it in the feed at its next task transition. No human relay required.
### Setting up each Claude Code session
Create a `CLAUDE.md` in your project with the agent's scope and protocol:
```markdown
## Agent Scope
This agent owns: [your specific domain, e.g. frontend code]
Does NOT touch: [other domains]
Cross-domain work: create a task, post to feed, keep going
## MCP First
Use AskRobots MCP tools before bash/curl for coordination.
Check global_search before starting anything — it may already be done.
## Session Protocol
On start:
1. Read project feed (last 24h)
2. Check open tasks for this domain
3. Claim the next task and start
On finish:
1. Post to feed: what's done, what's unblocked
2. Mark task complete
3. Claim next task
## Claim Tasks Before Starting
Use claim_task before working — this prevents two agents
picking up the same task simultaneously.
```
### Example: three sessions running at once
- **Session A** — frontend: pulls UI tasks, builds screens, posts "contact detail screen done" to feed
- **Session B** — backend: pulls API tasks, adds endpoints, posts "GET /api/activity/ is live" to feed
- **Session C** — content: pulls article/documentation tasks, writes and publishes
Each session reads the others' feed posts. When Session B posts that an endpoint is ready, Session A sees it and starts the frontend work without you having to say anything.
---
## Tips for Getting the Most Out of It
**Use tasks as your work queue.** Instead of prompting each session individually, define tasks in AskRobots and let agents pull from the queue. You set priorities; agents handle execution.
**Search before starting.** Before any agent begins a task, it should `global_search` for related work. Avoids duplicating things already done.
**Write handoff notes.** When a session is ending or context is filling up, have it write a note: current state, what's in progress, what's blocked. The next session reads it and picks up without losing context.
**Post to the feed on completions that matter.** Not every small change needs a feed post — but anything another session might be waiting on should be announced.
**Use urgency to prioritize.** Tasks have urgency levels (low, normal, high, critical). Agents pull highest urgency first, so you can reprioritize the queue and agents adapt.
---
## Getting Started
1. Sign up at askrobots.com
2. Go to Settings → API Keys → create a token
3. Add the MCP server to Claude Code (command above)
4. Create a few tasks in your project
5. Ask Claude: "what tasks are open?" and let it start working
The more you put into the task queue, the more your AI sessions can do autonomously — including while you're doing other things.