Expose your internal API to ChatGPT, Claude, Grok Bot, Muse and more.
Is this you?
- You have an internal API and want to use it from your AI tools over MCP, or share it with teammates.
- Your API takes an API key, and a ChatGPT custom connector can’t send one.
- Your GPT calls your API through an Action, and OpenAI retires GPTs on December 11, 2026.
- You want teammates to use the API from their AI tools without giving them the key.
qbash Tasks are AI cloud functions with support for secrets, so you can wrap your API call and share it over a custom MCP server.
ChatGPT
Claude
Grok Bot
Claude Code
Codex
Muse
Cursor
Use your API from Claude.
Claude reads the OpenAPI spec of a small inventory API and builds a qbash Task that calls it. In the same chat, Claude runs the Task to add a Pen and list every item.
- 0:03 Add qbash to Claude
- 0:09 Build the task in Claude
- 0:22 See the task in qbash
- 0:27 Use the task from Claude
Read the transcript
Add qbash to Claude
The MCP Servers page in qbash lists the official qbash MCP server, which Claude connects to as a connector.
Build the task in Claude
In Claude, with the qbash connector switched on, ask Claude to build a task for your API and give it the API’s spec: an OpenAPI file or any other spec you choose. Claude builds the task through the qbash MCP server.
Question: Build a qbash task for my Items API so I can use it from this chat. Here is the link to its OpenAPI spec.
I've built the Items API task and saved it in qbash. It's ready to run from this chat. It can list items, get one by ID, create an item and update one. It can't delete items because your spec has no delete endpoint.
See the task in qbash
The task, "Items API", is saved on the Tasks page in qbash.
Use the task from Claude
In the same chat, ask Claude to run it. Claude runs the task in qbash and answers from its output.
Question: Add a Pen for $3, then list everything in my inventory.
I added the Pen for $3 as item #4. Your inventory now has 4 items:
| ID | Name | Price |
|---|---|---|
| 1 | Coffee beans | $18.50 |
| 2 | Notebook | $6.00 |
| 3 | Desk lamp | $42.00 |
| 4 | Pen | $3.00 |
qbash Tasks
A Task is an AI cloud function written in Python that qbash hosts on secure cloud infrastructure.
Inline prompts
Prompts live in the Task, with their model and settings, and run at the steps that need AI.
Version control
Every save of the Task and its prompts is a version you can compare or roll back to.
Logging
Each run records its status, inputs, output and logs, and what started it.
Secrets
API keys live in qbash Secrets. The Task gets a reference, and qbash fills in the real key when it sends the request.
from urllib.parse import quote
email = qbash.inputs.get("email")
response = qbash.http.request(
"GET",
f"https://admin.example.com/api/customers?email={quote(email)}",
auth=qbash.http.auth.bearer(qbash.secrets["ADMIN_API_TOKEN"]),
)
if response["status"] == 404:
qbash.output({"email": email, "found": False})
elif response["status"] >= 400:
raise RuntimeError(f"Admin API returned HTTP {response['status']}")
else:
customer = response["body"]
result = {
"email": email,
"plan": customer["plan"],
"status": customer["status"],
"renews_on": customer["renews_on"],
}
# Only a past-due account goes to the model, to summarise its billing notes.
if customer["status"] == "past_due":
result["billing_summary"] = qbash.ai.run_prompt(
"summarise-billing-notes",
{"notes": customer["billing_notes"]},
)
qbash.output(result)
qbash Tasks don’t burn tokens, and they keep your data away from a model except at the steps that need one. Inline prompts are a first-class citizen. In this Task, the model only sees the billing notes of a past-due account.
A saved Task can run anywhere
Use it from any MCP client, or call it over an API from your own systems.
ChatGPT
Claude
Claude Code
Codex
Grok Bot
Muse
Cursor
- API
Highlights of the Task SDK
The qbash SDK is built into every Task, with nothing to install.
- Secrets
- The auth helpers in
qbash.http.authsend a stored key as a bearer token, basic auth, a custom header or a query parameter. Rotating the key on the Secrets page changes no code. - Files
qbash.filesreads and writes files up to 5 GB, splits PDFs into pages and converts Word, Excel and PowerPoint files. Task inputs take file uploads, and connectors such as Google Drive and Gmail return files the Task can pass to your API.- Parallelism
qbash.parallelruns a function over a list with a concurrency limit, an optional per-minute rate limit and retries, and returns the results in input order.- Schedules and triggers
- A Task can have several schedules, each with its own time zone and inputs. Triggers start it from Slack messages, new Gmail or Outlook mail, GitHub and Jira events, or a POST from your own systems.
qbash also lets you build custom MCP servers.
Custom MCP servers work as a permission layer for your teammates or agents. Connect a set of Tasks, or other connectors with a limited set of tools.
For example, a support team’s server can include the customer lookup Task and Gmail with search turned on and send turned off. Teammates sign in with their own qbash accounts. They can run the lookup and search the inbox, and they can’t edit the Task, read the token or send mail.
How custom servers work
Add the qbash MCP.
Add it to ChatGPT, Claude, Codex, Grok Bot or any other MCP client, then ask it to build a Task that calls your API. Save the token on the Secrets page in qbash yourself, so it never passes through the chat.
https://mcp.qbash.com/mcp
In ChatGPT, turn on Developer mode under Settings, Apps & Connectors, Advanced settings, then create a connector with this URL and choose OAuth. Developer mode needs a Plus, Pro, Team, Enterprise or Edu plan.
Questions
Can it reach an API behind our firewall?
No. qbash sends each request from its own servers, so the API needs a public address. qbash.http refuses private addresses such as 10.0.0.5, 192.168.1.20 or localhost. Task HTTP requests don’t come from a fixed IP address, so a firewall allowlist can’t single them out. For an MCP server that has to stay inside your network, Claude Enterprise offers MCP tunnels as a research preview.
How do I add qbash to ChatGPT?
Turn on Developer mode under Settings, Apps & Connectors, Advanced settings. Then create a connector, paste the qbash server URL and choose OAuth. Developer mode needs a Plus, Pro, Team, Enterprise or Edu plan. A teammate adds a custom server’s URL the same way.
Why not build my own MCP server?
You can. You then host it, keep it running, and give each assistant a way to sign in, which for ChatGPT means OAuth. With qbash, the assistant signs in to qbash, and the Task sends your key with each request. Your API stays as it is.
Can our own app call the Task?
Yes. Under Settings, Triggers, API, a saved Task gets an endpoint that takes its inputs in a POST and returns its output. Callers send a token you keep as a qbash Secret.
How long can a call take?
Each HTTP request waits 30 seconds unless you set a timeout, and a run can last up to 15 minutes on the Free and Developer plans.
Is there a free plan?
Yes, with no card: 100 runs a month and 3 Tasks. The Developer plan is $20 a month for 5,000 runs, each up to 15 minutes. Every plan includes all connectors.
qbash is free to start, with no card needed.