Builder quickstart: Claude Code over MCP
For a developer with a Frontier account and Claude Code installed.
Last updated November 29, 2026
One loop, end to end
This page walks one loop: a token, a connection, a query, a page and a run. Each step is a tool call your agent makes through Frontier's MCP server. The tool names are exact, so you can ask your agent for them by name.
Before you start you need:
- A Frontier account. Access is by invitation; see Getting access.
- Claude Code. Any client that speaks MCP over streamable HTTP works the same way; the commands below are Claude Code's.
- A project you can edit. A new one keeps the experiment apart from real work.
1. Generate a token
In the application at app.frontiererp.ai, open Settings › Account › API & MCP and choose Generate token.
- Name it for what will hold it, such as
claude-code-laptop. - Expiry is No expiry, 30 days, 90 days or 1 year. No expiry is first in the list; choose a date instead.
- Tool access is None: items and comments only, Selected tools or All
tools. For this page, select
list_connections,netsuite_suiteqlandrun_item.
Copy the token when it appears. It is shown once.
2. Connect Claude Code
export FRONTIER_TOKEN='paste-the-token-here'
claude mcp add --transport http frontier https://backend.frontiererp.ai/mcp/ \
--header "Authorization: Bearer $FRONTIER_TOKEN"
claude mcp list
The panel you generated the token in shows the same endpoint and a config block to copy. A client configured in JSON takes the same two values:
{ "mcpServers": { "frontier": {
"url": "https://backend.frontiererp.ai/mcp/",
"headers": { "Authorization": "Bearer <token>" } } } }
A request without a valid token is answered 401, with
{"error": "unauthorized", "detail": "Missing or invalid MCP access token"}.
3. Find your project
Ask your agent to list your Frontier projects. list_projects returns each
project's id, name, scope and description. Every other tool takes that
id as its project_id.
4. See what the project can reach
tool_execute runs one catalog tool. Start with list_connections. It lists
the connected systems the project can reach, by address — prod, me/sandbox,
demo/netsuite — with what each tool is allowed to do there.
{ "project_id": "<id>", "tool": "list_connections" }
The JSON blocks on this page are the arguments your agent passes to
tool_execute. You can ask in words — "run list_connections in my quickstart
project" — and the agent builds them.
5. Run a read-only query
{ "project_id": "<id>", "tool": "netsuite_suiteql",
"inputs": { "query": "SELECT COUNT(*) AS n FROM customer",
"connection": "demo/netsuite" } }
Use an address from step 4. A demo/… connection, where your project lists one,
is read-only: any write on it is refused. If step 4 lists no connection, skip to
step 6: writing and running a page needs none.
A run that finishes comes back status: completed. Its result is the tool's
text, with the rows as a preview table, and its items list the project://
addresses where the full result was saved. Read one with read_item.
6. Write a page
A page is a .py item whose @cell functions print what the page shows. This is
the smallest one, in the shape the platform's own pages use: frontmatter in the
opening docstring, prose as bare strings, and cells as functions.
"""---
title: Hello
status: draft
---"""
"""# Hello
A first page, written from outside the application.
"""
from system.runtime import cell
@cell(title="Greeting")
def greeting():
print("Hello from Claude Code")
Have your agent call create_item with path quickstart, name hello, type
page, format py and the file above as content. The answer is the new item,
with its address, uri, assigned by the server.
7. Run it, change it, run it again
{ "project_id": "<id>", "tool": "run_item",
"inputs": { "uri": "<the uri create_item returned>" } }
run_item executes the page's cells and returns a run summary inside result.
Read the summary's own status, then each cell's status, stdout and
stderr. Check those, not only the outer status: some failures, such as a
missing item or one already running, still come back completed today.
To change the page, call update_item with the item's uri and the new
content; a new version is kept automatically. Then run it again. Add cell to
run one cell, or from_cell to resume from one.
The page is now an item in the project, listed with the others in the application.
When you are done
Revoke the token in the same panel; it stops working at once. The MCP server reference lists every tool, what each status means, what needs approval, and the limits. Build on Frontier covers how a token runs and what is not offered today.