Attio MCP serverand Python AI tasks
qbash hosts a Attio MCP server you can use in Claude, ChatGPT, Codex, Cursor, Grok Bot and Muse. Developers use qbash Tasks to write cloud-hosted Python functions that pair Attio with models such as Claude and GPT.
Add the qbash MCP
Use Attio from Claude Code, Codex, Cursor and other MCP clients. Connect Attio in qbash, and your agent can work with its data and build Tasks that call it.
claude mcp add --transport http qbash https://mcp.qbash.com/mcp
Then run /mcp in Claude Code and sign in with qbash.
- Identify the token's workspace and scopes
- List standard and custom objects in the workspace
- List attributes for an object or list
- Query one page of people, companies or custom-object records
- Get one CRM record by its object and UUID
- Create or update a CRM record using a matching attribute. Supplied multiselect values overwrite existing values
Write a Attio task in Python
A qbash Task is a Python function hosted in the cloud. Python is the runtime and defines the process, and built-in inline prompts run on leading models such as Claude, GPT, Gemini and Grok.
Run a Task on a schedule, from an HTTP request or when a connected app sends an event. Your agents and chat tools call it over MCP.
Each run is logged with its inputs and results, and you can turn data logging off for any Task. Every Task has version control, and each run is locked to the version it ran.
Review people in your CRM
Read a page of people and ask a saved prompt to summarize the fields present in those records.
page = qbash.integrations.attio.list_records(object="people", limit=25)
records = page["records"]
if records:
result = qbash.ai.run_prompt(slug="attio-people-review", variables={"records": records})
qbash.output(result)
else:
qbash.output("No people returned in this page.")
Sample list_records response
{
"records": [
{
"id": {
"record_id": "fixture-person"
},
"values": {
"name": [
{
"full_name": "Fixture Person"
}
],
"email_addresses": [
{
}
]
}
}
],
"next_cursor": null
}
Custom MCP server
Build a custom MCP server with Attio
Create a hosted MCP server that combines Attio tools with your other connectors, Tasks and memory folders. You choose each tool it exposes, so a server can share Attio reads with write tools left off.
Share the server with your team, and each person adds it to the client they already use.
How to set it up
- Connect Attio on the qbash Connectors page.
- Create an MCP server and add the Attio tools you want to share.
- Paste the server URL into your client. It connects with OAuth or an access token.
Attio MCP questions
Which Attio credential does qbash use?
A workspace API key created by an Attio workspace admin. Its scopes control which resources and operations are available. Select the saved credential explicitly for each Task.
Can this connector change CRM data?
Yes. It can upsert records and list membership, create notes and tasks, and set task completion. These operations need write scopes. Note and task creation can produce duplicates when repeated. Deletion and schema administration are not exposed.
Related CRM connectors
Build a Attio task
Write it in Python with AI steps, or describe it to your coding agent through the qbash MCP.