Connect an AI client to Talon's MCP server
Find the address of Studio's own MCP server, give an AI client a key of its own, and prove what it sees with three plain calls, initialize, the tool list and one tool.
Goal
An AI client's key, and three answers from Talon's MCP server that show what a client with that key can do.
Before you start
MCP, the Model Context Protocol, is how an AI client finds and calls tools. Studio speaks it both ways. This lesson is the first way: Studio is the server, and the AI client on your laptop calls Studio. The next lesson is the other way round.
Open Settings → MCP, and Talon as a server. Three tabs: Servers, Actions and Talon as a server. Open the last. Connect an AI client to Talon: Talon is also an MCP server. Point Claude Desktop, Claude Code or any other MCP client at this URL over Streamable HTTP, with an API token as its bearer credential. It sees only the tools that token's scopes allow. The address is your Studio's, followed by
/api/v1/mcp. Below it, Create a token in Settings → API → Auth.

Make the client a key of its own. On Settings → API → Auth, press Create key. Name it
Claude Code, choose Engineer, Personal and All workspaces, and press Create key. Copy the secret. A client that drafts detections for you acts as you, so its key is Personal: if your account is disabled, the client stops too. One key for each client means you can revoke one without the others.
Read how Claude Code connects. The same Auth tab, under MCP server, gives Claude Code a second way in: Or install the Talon Studio plugin in Claude Code. It asks for this address and a key, and adds coverage checks, posture summaries and case reviews.
/plugin marketplace add Talon-Labs-Detection-Platform/Talon-Studio /plugin install talon-studio@talon-studioAny other MCP client takes the address, Streamable HTTP as the transport, and the key as a bearer token, in its own settings.
Say hello as a client would. Read the new secret into
TALON_KEYas in the first lesson, then send the call every client sends first,initialize:curl -s https://studio.example.com/api/v1/mcp \ -H "Authorization: Bearer $TALON_KEY" -H 'Content-Type: application/json' \ -H 'Accept: application/json, text/event-stream' \ -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}'Studio answers with
"serverInfo":{"name":"talon-studio","version":"1.1.16-beta"}, and the capabilities it offers:tools,promptsandcompletions.
List the tools. Send the same call with the body
{"jsonrpc":"2.0","id":2,"method":"tools/list"}. With the Engineer key the list holds 49 tools, fromme,list_workspacesandget_coveragetolist_kevandlookup_indicators. A Read-only key gets 42: it does not seepropose_detection,dismiss_alert,promote_alert_to_case,create_kanban_card,update_case,add_case_noteorexecute_search, the tools that need a scope able to change data. Each tool marks itself, too:"readOnlyHint":trueon the ones that only read.
Call one. First
list_workspaces, with the body{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"list_workspaces","arguments":{}}}. The answer lists Corporate SOC and itsid. Thenget_coverage, with thatidasworkspaceId:{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"get_coverage","arguments":{"workspaceId":"<the id>"}}}The answer is the workspace's coverage totals: on the example install,
"detections": 56,"detectableTechniques": 206,"coveredTechniques": 25and"gaps": 181. LeaveworkspaceIdout and the tool answers A workspaceId query parameter is required. An AI client does exactly this, choosing the tools and their arguments for you.
You should now see
A Claude Code key on Settings → API → Auth, Personal token, Engineer, 28 scopes, Organisation, with today's date under Last used. Whatever client you give it to sees the 49 tools you listed, and no more.
Quick check
Go deeper
- MCP Servers, for Talon as a server and as a host.
- API Tokens, for the scopes behind each tool.