Model Context Protocol
AI2me MCP server
Give Claude, Cursor or any MCP client a set of tools that build decks, documents, spreadsheets, web apps, images and video directly in your AI2me account — grounded in your own connected data.
Overview
MCP is a standard way for an AI assistant to call external tools. The AI2me MCP server is the reverse of a data connector: instead of AI2me reaching out to your systems, your assistant reaches into AI2me and operates it on your behalf.
Once connected, you talk to your assistant normally. It picks the right tool, and the result lands in your AI2me account — in the same place it would be if you had made it in the app.
“Make a deck about our Q3 results.”
Asks who it is for, then builds the presentation in AI Slides.
“Build a spreadsheet of our 2026 marketing budget by quarter.”
Creates a real workbook in AI Sheets with numeric cells, so totals calculate.
“What were our top 5 products last quarter? Use the sales connector.”
Grounds the answer in your connected data instead of guessing.
“Generate a hero image for the landing page, 16:9.”
Returns a hosted image URL you can drop straight into a page.
Everything lands in your account
Sheets open in AI Sheets, documents in AI Docs, decks in AI Slides — on your home page, in the real editors.
Scoped, revocable keys
Each key carries only the permissions you grant, with its own rate limit and optional expiry.
Metered in credits
Actions draw on your organization’s balance. Failed calls are never charged.
Quickstart
Three steps, about two minutes.
- 1
Create an API key
Go to Dashboard → API Keys and create one. Choose the Full Platform & MCP Access preset unless you have a reason to narrow it. The key is shown once — copy it straight into the box above.
- 2
Point your client at the server
terminalclaude mcp add --transport http ai2me \ https://us.be.ai2me.com/v1/mcp \ --header "Authorization: Bearer ai2me_live_YOUR_KEY" # then check it connected claude mcp list - 3
Verify the connection
Restart your client, then ask it to check your credit balance. That calls
ai2me_check_credits, which is free and proves the whole path works.curl — list every tool your key can callcurl -s -X POST https://us.be.ai2me.com/v1/mcp \ -H "Authorization: Bearer ai2me_live_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Configuration
The server accepts POST on every path, so a client configured with either URL works. Use the plain endpoint unless your client only speaks the older transport.
| Endpoint | Transport | Use it when |
|---|---|---|
POST /v1/mcp | Streamable HTTP | Default. Stateless, works behind load balancers. |
GET /v1/mcp/sse | HTTP + SSE | Older clients that require a persistent stream. |
GET /v1/mcp/tools | REST | Inspect the tools your key can reach. |
GET /v1/mcp/health | REST | Liveness check. No authentication needed. |
https://us.be.ai2me.com.Authentication
Authenticate with an Authorization: Bearer header. Keys are hashed at rest and shown to you exactly once, at creation.
Every key carries a set of scopes. A tool whose scope your key lacks is not just blocked — it is hidden from the tool list entirely, so your assistant never attempts it.
| Scope | Grants |
|---|---|
ai:chat | Ask, continue conversations, run builds |
ai:read | Read session status and history |
workspace:write | Create documents, sheets, decks, tasks, sites |
workspace:read | List and read workspace items |
projects:write | Create and archive builder projects |
projects:read | List projects and check build status |
media:generate | Generate images and video |
media:read | List generated media |
connectors:read | List connected data sources |
credits:read | Read balance and usage |
mcp:full | Wildcard — every tool, present and future |
Tools
All 23 tools, with the scope each one needs and what it costs. Most are free; only tools that create something draw credits.
Ask anything, optionally grounded in your connected data. Routes to the right product automatically — answers questions, builds apps, generates decks, documents and spreadsheets.
- Required
- question
- Optional
- agent, connector_ids, project_id, session_id, context, preferences, clarification_answers, skip_clarification, run_in_background
Send a follow-up turn in an existing session, keeping all prior context and artifacts.
- Required
- session_id, question
- Optional
- context, preferences, clarification_answers
Ask whether a deck, document or spreadsheet request has enough detail, and get the clarifying questions if not. Free.
- Required
- question, agent
- Optional
- session_id
Status and latest result of a session. Use it to poll a request started in the background.
- Required
- session_id
The organization's most recent AI2ME sessions, newest first.
- Optional
- limit
Create a spreadsheet in AI Sheets from tabular data you already have. Numbers stay numbers, so formulas work.
- Required
- title, headers
- Optional
- rows
Create a document in AI Docs from content you have written. Markdown headings and lists become formatted text.
- Required
- title, content
Create a presentation in AI Slides from an outline you supply. AI2ME designs and renders each slide; your titles, content and order are kept.
- Required
- title, slides
- Optional
- run_in_background
Build a single-page website from structured sections and publish it to a public URL.
- Required
- title, sections
- Optional
- domain_hint
Create a task in the AI2ME workspace with a due date and priority.
- Required
- title
- Optional
- description, due_date, priority
List tasks and published sites. Sheets, docs and decks live in their own products — use ai2me_list_sessions for those.
- Optional
- item_type, search, limit, offset
Fetch the full contents of one workspace item by id.
- Required
- item_id
Builder projects on this account with their framework, status and live URL.
- Optional
- search, limit, offset, include_deleted
Build status, version history, deployments and recent build log. Accepts an id or a slug.
- Required
- project
Check a build job started by ai2me_ask with agent='ai-builder'. Builds take a few minutes.
- Required
- job_id
Create an empty builder project record. Rarely needed — ai2me_ask with agent='ai-builder' creates and links its own.
- Required
- name
- Optional
- description, framework
Archive a project so it no longer appears in listings. Reversible from the dashboard.
- Required
- project_id
Generate an image from a prompt using any model configured on the account. Supports a reference image for image-to-image.
- Required
- prompt
- Optional
- model, negative_prompt, aspect_ratio, width, height, steps, reference_image_url
Generate a short video from a prompt, optionally seeded with a reference image. Can take several minutes.
- Required
- prompt
- Optional
- model, resolution, duration_seconds, aspect_ratio, negative_prompt, reference_image_url
Images or videos generated on this account, newest first.
- Optional
- media_type, limit
Connected data sources AI2ME can query. Credentials are never returned. Pass the ids to ai2me_ask to ground an answer in real data.
- Optional
- only_active, limit
Available balance, totals and whether the organization is running low. Free.
Credit spend over a recent window, broken down by product, with the most recent charges. Free.
- Optional
- days, limit
Examples
Complete exchanges, written as they appear on the wire.
The raw protocol
What your MCP client does for you. Useful when writing your own client or debugging a connection.
curl -s -X POST https://us.be.ai2me.com/v1/mcp \
-H "Authorization: Bearer ai2me_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-06-18",
"capabilities": {},
"clientInfo": { "name": "my-agent", "version": "1.0.0" }
}
}'curl -s -X POST https://us.be.ai2me.com/v1/mcp \
-H "Authorization: Bearer ai2me_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": { "name": "ai2me_check_credits", "arguments": {} }
}'Answering clarifying questions
For decks, documents and spreadsheets, AI2me may ask for detail before generating. This is a normal response, not an error.
{
"name": "ai2me_ask",
"arguments": {
"question": "Make a deck about our Q3 results",
"agent": "ai-slides"
}
}{
"needs_clarification": true,
"intro": "A few details first",
"questions": [
{
"id": "audience",
"question": "Who is the audience?",
"type": "single",
"options": [
"Investors",
"Internal team",
"Customers"
]
}
]
}{
"name": "ai2me_ask",
"arguments": {
"question": "Make a deck about our Q3 results",
"agent": "ai-slides",
"clarification_answers": [
{
"question_id": "audience",
"question": "Who is the audience?",
"answer": "Investors"
}
]
}
}Create a spreadsheet
Send real numbers, not strings, and the cells stay numeric so formulas work.
{
"name": "ai2me_create_sheet",
"arguments": {
"title": "2026 Marketing Budget",
"headers": [
"Channel",
"Q1",
"Q2",
"Q3",
"Q4"
],
"rows": [
[
"Paid search",
12000,
12000,
14000,
16000
],
[
"Content",
6500,
6500,
7000,
7000
],
[
"Events",
0,
18000,
0,
22000
]
]
}
}{
"status": "created",
"product": "AI Sheets",
"session_id": "70ad…",
"columns": 5,
"rows": 3,
"url": "https://www.ai2me.com/ai-sheets?session_id=70ad…"
}Call it from Python
No SDK needed — it is JSON-RPC over one HTTP endpoint.
import httpx
BASE = "https://us.be.ai2me.com/v1/mcp"
HEADERS = {"Authorization": "Bearer ai2me_live_YOUR_KEY"}
def call_tool(name: str, arguments: dict) -> dict:
"""Call one AI2me tool and return its result."""
response = httpx.post(
BASE,
headers=HEADERS,
json={
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {"name": name, "arguments": arguments},
},
timeout=180,
)
response.raise_for_status()
body = response.json()
if "error" in body:
raise RuntimeError(body["error"]["message"])
result = body["result"]
if result.get("isError"):
# A tool failure is a normal response, not an exception —
# the text explains what to fix.
raise RuntimeError(result["content"][0]["text"])
return result
print(call_tool("ai2me_check_credits", {}))Credits & limits
Reading is free. Creating draws on your organization's shared balance.
Fixed-cost tools state their price in the reference above. Tools that run the AI pipeline — ai2me_ask, ai2me_generate_image, ai2me_generate_video — are metered on actual usage. Affordability is checked before any work starts and charged only once the call succeeds, so a failed call costs nothing.
Each key is rate limited independently — 60 requests per minute by default, adjustable when you create it. Only tools/call and resources/read count; connecting and listing tools are free, so reconnecting never eats into your budget.
| Response header | Meaning |
|---|---|
X-RateLimit-Limit | Requests allowed per minute |
X-RateLimit-Remaining | Requests left in the window |
Retry-After | Seconds to wait, sent only on a 429 |
Errors
Two kinds of failure, and the difference matters.
Tool failures come back as a normal result with isError: true and a plain-language message, so the assistant can read it and correct itself. Protocol failures come back as a JSON-RPC error object.
| Code | Meaning | What to do |
|---|---|---|
-32001 | Unauthorized | Check the key is active and not expired |
-32002 | Insufficient credits | Top up in the dashboard |
-32003 | Missing scope | Add the scope, or create a broader key |
-32029 | Rate limited | Wait Retry-After seconds |
-32602 | Invalid arguments | The message names each field at fault |
-32601 | Unknown method | Check the method name |
-32603 | Internal error | Quote the reference id to support |
POST /v1/mcp.Security
What the server enforces, and what stays your responsibility.
- A key only ever reaches its own organization's data. Ids from another account are refused, not silently ignored.
- Scopes are checked before a tool runs, and the catalogue only lists tools the key can actually call.
- URLs you pass are resolved and refused if they point at private, loopback or link-local addresses.
- Arguments are validated against each tool's schema before any work starts.
- Failures return a plain message — never internal details of the platform.
Your side
Grant the narrowest scope set that does the job — a key used only for reporting does not need workspace:write. Set an expiry. Rotate if a key is ever pasted somewhere it should not have been.
