Studio testing
Inspect MCP tools locally and verify their transport with an MCP client.
Studio inspects a tool's contract and invokes its implementation inside your host. A successful Studio run does not prove that an external client can connect.
Enable local inspection
Extend Application service as a tool. Add Runiq.AI.Core, import Runiq.AI.Core, and register before builder.Build():
After building the app and before app.Run(), enable Studio for development:
Keep app.MapRuniqMcp(). Open /runiq on the host's local address.
Inspect and run
- Open MCP and find
text_length. - Check the description and required
textparameter. - Execute the input below.
- Confirm the returned value is
11.
Studio discovers loaded attributed types and invokes methods locally. Transport discovery scans the entry assembly by default; verify the client-facing list too.
Verify the actual connection
Connect an MCP-compatible client to the host's /mcp endpoint. List tools, find text_length, and call it with the same input.
This exercises the protocol, route, and client authentication. Studio's direct invocation does not exercise those boundaries.
| Symptom | Check |
|---|---|
| Tool absent from client | Entry assembly, attributes, and endpoint address. |
| Listed tool fails | Service registration, input, and application logs. |
| Studio succeeds but client fails | Routing, transport, and host access policy. |
| Different tool lists | Confirm the same running host and discovery scope. |
See Studio authentication for protecting inspection.