Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLI+17 more

    MCP Server Builder

    by PubsProToolkit

    1

    It defers to the current MCP spec and official SDK for exact APIs, and doesn't replace running the MCP Inspector and your own tests.

    Free

    1 installSecurity scanned

    See it in action

    You say

    Build me an MCP server in Python that lets Claude query our internal Postgres read replica. We want to deploy it remotely.

    Your agent does

    Plan: Python + FastMCP, Streamable HTTP (remote). Flags raw SQL as dangerous and recommends a scoped get_records(table, filters) tool (or parameterized queries on a read-only role with a statement allowlist) instead of free-form SQL. Confines access to the read replica. OAuth 2.1 + PKCE on the endpoint; a scoped service credential from the secret store (no token passthrough to the DB). Structured errors that never echo the raw DB error. Audit-logs every query. Delivers a runnable skeleton with one implemented tool plus a Security Checklist Report flagging "replace placeholder OAuth provider config" and "confirm the DB role is read-only."

    About this skill

    The MCP "hello world" is trivial — the SDK hands it to you. The hard part is everything that makes a server safe to deploy: MCP tools are arbitrary code execution exposed to an LLM, tool descriptions are untrusted text the model reads, and remote servers are network services handling credentials. This skill builds the server and closes those gaps up front, instead of leaving them to a later audit.

    It locks the key decisions first — TypeScript vs Python/FastMCP, stdio vs Streamable HTTP, which primitives, what the tools actually touch — then:

    • Scaffolds the project on the official SDK (pinned), JSON-RPC 2.0 under the hood
    • Defines each tool with a tight JSON Schema and a narrow, single-purpose scope
    • Implements handlers defensively — least privilege, command/path/SSRF handled
    • Wires the transport correctly (clean stdout for stdio; HTTPS + sessions for remote)
    • Adds OAuth 2.1 + PKCE + resource indicators for remote, with no token passthrough
    • Returns structured, sanitized errors that never leak internals or secrets
    • Gates destructive actions behind confirmation

    You get a runnable server skeleton with a fully implemented example tool, plus a Security Checklist Report showing how each footgun is handled and what you still need to wire (e.g., your OAuth provider). It defers to the current MCP spec and official SDK for exact APIs, and doesn't replace running the MCP Inspector and your own tests.

    To audit a server or tool definitions you didn't build — schemas, descriptions, scopes, and auth checked for a SAFE / REVIEW / BLOCK verdict — pair it with the MCP Server & Tool-Definition Security Gate.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    1 install

    Downloaded by developers to date

    Free forever

    No account required to browse

    Frequently Asked Questions

    Popular in AI Agents & LLM Ops

    Free