Skip to main content

Model Context Protocol (MCP) Server

envtrap hosts an official Model Context Protocol (MCP) server directly alongside its documentation. By connecting your AI coding assistant (such as Cursor, Claude Desktop, Antigravity, or Windsurf) to our MCP server, your AI tools can directly search the EnvTrap knowledge base, query architecture guidelines, and generate accurate runtime configurations without hallucinating.

MCP Server Endpoint

  • Protocol Version: MCP 1.0.0
  • Transport: HTTP / Server-Sent Events (SSE)
  • Authentication: None required (public read-only documentation)

Available MCP Tools & Capabilities

When connected, your AI assistant receives specialized tools:

search_envtrap

Semantically searches across the complete EnvTrap documentation knowledge base, configuration schemas, threat vectors, and API references.

query_docs_filesystem_envtrap

Executes read-only queries against a virtualized documentation filesystem to fetch full MDX source files and exact code blocks.

Setup by Client

Add the server to your project’s .cursor/mcp.json or your global Cursor settings:
.cursor/mcp.json
Alternatively:
  1. Open Cursor Settings (Cmd/Ctrl + ,) → MCP.
  2. Click Add New MCP Server.
  3. Set Name to envtrap and URL to https://envtrap.vercel.app/docs/mcp.

Verification

Once configured, test the connection by prompting your AI assistant:
Your AI assistant will execute the search_envtrap tool and provide answers grounded directly in the latest EnvTrap specifications.