Connect an agent with MCP
Connect a coding agent such as Claude Code to the Sophonz MCP server and it creates the project and app, installs the SDK, and checks that data is arriving.
Sophonz provides an MCP (Model Context Protocol) server. With a coding agent connected, "add Sophonz to this app" is the whole setup: the agent registers the app, gets its key and install code, applies it, and confirms telemetry is arriving. It can read traces and logs too, so you can ask it about the error that just happened.
Connect
There is one server address.
https://app.sophonz.ai/api/mcpIn Claude Code, register it with:
claude mcp add --transport http sophonz https://app.sophonz.ai/api/mcpThen run /mcp in Claude Code and pick sophonz. A browser opens; sign in with your Sophonz account and choose 연결 허용 (Allow).
Any other client that supports Streamable HTTP and OAuth connects to the same address. Clients configured through a file take:
{
"mcpServers": {
"sophonz": {
"url": "https://app.sophonz.ai/api/mcp"
}
}
}Sign-in and permissions
There is no API key to copy. The client opens a browser and receives a token for the signed-in account, valid for 30 days. After that you sign in again.
The agent works only inside the organizations the signed-in user belongs to.
- It can: list organizations, projects and apps, create projects and apps, get SDK install code and app keys, check ingestion, and read traces, sessions and logs
- It cannot: delete projects or apps, manage members, or change organization settings
Tools
| Tool | What it does |
|---|---|
list_organizations | Organizations the signed-in user belongs to. Every other tool takes an organization slug from here. |
list_projects | Projects in an organization and the apps registered in each |
create_project | Creates a project. Its namespace becomes the service.namespace of the apps in it. |
create_app | Registers an app and returns the collector URL, app key and install code. |
get_sdk_setup | Collector URL, app key and install code for an app that is already registered |
check_ingestion | Whether data arrived recently for each app, plus any service.name that matches no registered app |
query_telemetry | Overview, traces, sessions and logs. With id, the detail of one trace or session. |
NOTE — The app name must equal service.name
Sophonz counts telemetry toward an app when the registered app name equals the service.name the SDK reports. Native SDKs send the bundle ID or package name unless you set a name. If an app shows no data, check the unregistered list from check_ingestion for the same app arriving under another name.
What to ask
Once connected, ask the way you normally would.
Add Sophonz to this Next.js app. Create the project as my-shop,
then run the app and confirm data is arriving.Find the traces that failed in my-shop over the last hour and explain why.Check how the web app's response time changed since the deploy just now.To set things up by hand, see Quick Start.