DocsModel Context Protocol (MCP)
Model Context Protocol

MCP Integration & Server Hub

Smoke Monkey treats the Model Context Protocol as a first-class citizen with a dual-mode integration: a native client for connecting external tools into your agent, and a standalone server with 22 tools for driving the harness from any host.

1. The Harness MCP Client

Embed external databases, GitHub, web browsers, and shell tools directly into your agent loop. Supports stdio child processes and remote streamable HTTP (SSE).

Namespaced as <serverId>__<toolName>

2. The @smoke-monkey/mcp Server

Gives Claude Code, Cursor, Codex, and Windsurf native control over Smoke Monkey. Scaffolds starter agents, plans architectures, and verifies builds.

22 Built-In Development Tools

Connecting External MCP Tools in TypeScript

mcp-agent.tstypescript
import { createAgent } from '@smoke-monkey/harness';
// Connect external tools over stdio and HTTP SSE
const agent = createAgent({
workspacePath: process.cwd(),
mcp: [
{
id: 'github',
command: 'npx',
args: ['-y', '@modelcontextprotocol/server-github'],
env: { GITHUB_PERSONAL_ACCESS_TOKEN: process.env.GITHUB_TOKEN },
},
{
id: 'postgres',
command: 'npx',
args: ['-y', '@modelcontextprotocol/server-postgres', process.env.DATABASE_URL!],
},
],
});
// Tools are automatically namespaced as github__create_issue, postgres__query!
await agent.run('Find open issues labeled "bug" and inspect the database schema');

Configuring External MCP Clients

claude_desktop_config.jsonjson
// Run the server directly via npx
npx -y @smoke-monkey/mcp
// Or configure Claude Code / Cursor / Codex in your mcpServers JSON:
{
"mcpServers": {
"smoke-monkey": {
"command": "npx",
"args": ["-y", "@smoke-monkey/mcp"]
}
}
}

Key MCP Server Tools

harness_guide
Master instructions and architecture playbook for building looping agents.
harness_plan
Transforms a high-level product goal into an executable multi-step build plan.
harness_scaffold
Generates an end-to-end runnable starter agent project directly on disk.
harness_verify
Typechecks, builds, and verifies agent correctness across all 6 phases.
harness_skills_by_category
Discovers and filters 25 bundled engineering skills (backend, frontend, devops, QA).
harness_skill_content
Loads complete, actionable SKILL.md playbooks on-demand.

Check Out Built-In Tools

See all 24 native filesystem, git, and terminal tools.