Skip to content

Quickstart

Give your agent csp through an MCP server, an AGENTS.md snippet, and a dedicated sub-agent.

Updated View as Markdown

Your agent queries csp in natural language (for example "How is authentication handled?") and gets back only the relevant code snippets, without grepping or reading full files.

csp has three complementary setup paths. The recommended setup is using all three, but you can pick and choose based on your needs:

  • MCP server: an MCP server for your agent.
  • AGENTS.md: an AGENTS.md snippet with instructions for calling csp via the CLI.
  • Sub-agent: a dedicated csp-search sub-agent for harnesses that support it.

Add the MCP server

Expose csp as a native tool via MCP so your agent can call it directly. For Claude Code:

claude mcp add csp -s user -- bunx @pleaseai/csp mcp

See MCP server for other harnesses (Cursor, Codex, OpenCode, VS Code, and more).

Install the CLI and add the AGENTS.md snippet

Install the csp CLI, then add the AGENTS.md snippet to your AGENTS.md or CLAUDE.md so the agent knows when and how to call it.

brew install pleaseai/tap/csp

Install the sub-agent

For harnesses that support sub-agents, install a dedicated csp-search sub-agent so search runs in its own context (requires the CLI):

csp init   # Claude Code → .claude/agents/csp-search.md

See Sub-agent for the other harnesses.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close