Reference · How-to · ~10 min

How to wire an MCP server

Last updated

Connect a tool server to your agent client in ~10 minutes.

Connect a tool server to your agent client in ~10 minutes.

Steps

1. Run or install an MCP server (filesystem, DB, custom API)

2. Add server entry to client config (Cursor, Claude Desktop, or SDK)

3. Restart client and **list tools**

4. Log every tool invocation with args + result hash

5. Block destructive tools without human confirm

**Try the lesson:** `mcp-in-code` in Lane D