# 0mcp > Learn how to turn an API into a hosted MCP server with 0mcp. ## Docs - [0mcp documentation](https://docs.0mcp.io/index.md): Learn how to turn your API into a hosted MCP server. - [Introduction](https://docs.0mcp.io/get-started/introduction.md): Learn what 0mcp is, how it works, and when to use it. - [Why 0mcp?](https://docs.0mcp.io/get-started/why-0mcp.md): See why 0mcp is the fastest way to turn an existing API into a hosted MCP server. - [Quick start](https://docs.0mcp.io/get-started/quick-start.md): Create, publish, and connect your first MCP server in just a few minutes. - [How 0mcp works](https://docs.0mcp.io/concepts/how-0mcp-works.md): Understand how 0mcp connects an MCP client to your existing API. - [Authentication model](https://docs.0mcp.io/concepts/authentication-model.md): Understand how credentials are securely passed from an MCP client to your API. - [OpenAPI specification](https://docs.0mcp.io/api-sources/openapi.md): Import an OpenAPI 3.x or Swagger 2.0 document into 0mcp, review the generated MCP tools, configure authentication, and publish a hosted MCP server. - [REST API](https://docs.0mcp.io/api-sources/rest-api.md): Convert an existing REST API directly into a hosted MCP server with 0mcp. - [Postman collection](https://docs.0mcp.io/api-sources/postman.md): Import a Postman Collection v2 document into 0mcp, review the generated MCP tools, and publish a hosted MCP server. - [GraphQL](https://docs.0mcp.io/api-sources/graphql.md): Learn the current status of GraphQL support in 0mcp. - [Playground](https://docs.0mcp.io/guides/playground.md): Test your MCP server before connecting an AI client. - [Skills over MCP](https://docs.0mcp.io/guides/skills-over-mcp.md): Create, publish, and test Agent Skills through the experimental SEP-2640 MCP extension. - [Custom domain](https://docs.0mcp.io/guides/custom-domain.md): Connect a custom domain to your hosted 0mcp server, configure the required DNS record, verify the hostname, and activate a branded MCP endpoint. - [Publish to the MCP Registry](https://docs.0mcp.io/guides/mcp-registry.md): Submit a hosted remote 0mcp server to the official MCP Registry with a verified custom domain. - [Analytics](https://docs.0mcp.io/guides/analytics.md): Monitor MCP requests, capability usage, errors, response times, payload sizes, and client activity to understand the health of your 0mcp server. - [Logs](https://docs.0mcp.io/guides/logs.md): Use operational and audit logs to investigate MCP requests, tool failures, configuration changes, response times, and upstream API problems. - [Versioning](https://docs.0mcp.io/guides/versioning.md): Learn how 0mcp saves server configurations as versions so you can test draft changes, publish updates, and protect connected MCP clients from unfinished work. - [MCP 2026-07-28 compatibility](https://docs.0mcp.io/guides/mcp-2026-07-28.md): Understand how 0mcp works with the MCP 2026-07-28 protocol era, Streamable HTTP, version negotiation, and client compatibility. - [Client setup](https://docs.0mcp.io/guides/setup.md): Connect your MCP server to your preferred AI client. - [Claude Code](https://docs.0mcp.io/guides/setup/claude-code.md): Connect your published 0mcp server to Claude Code. - [Cursor](https://docs.0mcp.io/guides/setup/cursor.md): Connect a published 0mcp server to Cursor with project or user-level MCP configuration, secure environment variables, and the hosted endpoint. - [Codex](https://docs.0mcp.io/guides/setup/codex.md): Connect a published 0mcp server to Codex with the generated CLI command or TOML configuration while keeping credentials in environment variables. - [VS Code](https://docs.0mcp.io/guides/setup/vscode.md): Connect a published 0mcp server to VS Code, add its configuration to mcp.json, enter credentials securely, and confirm that the server starts. - [Windsurf](https://docs.0mcp.io/guides/setup/windsurf.md): Connect a hosted 0mcp endpoint to Windsurf when your version supports remote Streamable HTTP MCP servers, using secure credentials and client settings. - [Authentication errors](https://docs.0mcp.io/troubleshooting/authentication-errors.md): Troubleshoot 401, 403, and missing credential errors. - [Invalid OpenAPI](https://docs.0mcp.io/troubleshooting/invalid-openapi.md): Troubleshoot OpenAPI documents that can't be imported or previewed. - [MCP connection issues](https://docs.0mcp.io/troubleshooting/mcp-connection-issues.md): Troubleshoot clients that can't connect to your MCP server. - [Tool discovery problems](https://docs.0mcp.io/troubleshooting/tool-discovery-problems.md): Troubleshoot missing or outdated tools in your MCP client. - [FAQ](https://docs.0mcp.io/resources/faq.md): Answers about 0mcp, security, clients, usage, and plans. - [Tutorials](https://docs.0mcp.io/resources/tutorials.md): Follow practical 0mcp tutorials for creating your first server, preparing an OpenAPI document, designing safe tools, and publishing versioned changes. - [Blog](https://docs.0mcp.io/resources/blog.md): Read 0mcp product updates, practical MCP guides, API integration tutorials, and articles about building and operating hosted MCP servers. - [What is MCP?](https://docs.0mcp.io/learn/fundamentals/what-is-mcp.md): Learn what the Model Context Protocol (MCP) is, what the name means, and how it connects AI applications to external data, tools, and workflows. - [Why MCP matters?](https://docs.0mcp.io/learn/fundamentals/why-mcp-matters.md): Understand why the Model Context Protocol matters for AI builders, API providers, product teams, and people who use AI applications. - [How MCP works?](https://docs.0mcp.io/learn/fundamentals/how-mcp-works.md): Follow the MCP connection lifecycle from initialization and capability discovery to tool calls, results, notifications, and shutdown. - [MCP architecture explained](https://docs.0mcp.io/learn/fundamentals/mcp-architecture-explained.md): Understand MCP hosts, clients, servers, capability negotiation, security boundaries, and the flow of context and tool requests. - [Remote MCP servers](https://docs.0mcp.io/learn/fundamentals/remote-mcp-servers.md): Learn what a remote MCP server is, when to use one, how clients connect, and what production security and operations require. - [Local MCP servers](https://docs.0mcp.io/learn/fundamentals/local-mcp-servers.md): Learn what a local MCP server is, how stdio connections work, common use cases, setup considerations, and local security risks. - [Local vs remote MCP: Which should you choose?](https://docs.0mcp.io/learn/fundamentals/local-vs-remote-mcp.md): Compare local and remote MCP servers across privacy, access, performance, maintenance, authentication, scaling, and production readiness. - [The MCP specification explained](https://docs.0mcp.io/learn/fundamentals/mcp-specification-explained.md): Learn how the Model Context Protocol specification defines messages, lifecycle, transports, features, versioning, and security requirements. - [Custom MCP transport implementation](https://docs.0mcp.io/learn/fundamentals/custom-mcp-transport.md): Learn when a custom MCP transport is justified and how to preserve message framing, lifecycle, sessions, security, and interoperability. - [Deploying an MCP server on Kubernetes](https://docs.0mcp.io/learn/fundamentals/mcp-server-on-kubernetes.md): Deploy a remote MCP server on Kubernetes with containers, Services, Ingress, secrets, health checks, scaling, observability, and least-privilege security. - [How to use Claude with MCP](https://docs.0mcp.io/learn/fundamentals/using-claude-with-mcp.md): Connect Claude to local and remote MCP servers through connectors, desktop extensions, Claude Desktop configuration, or Claude Code. - [MCP vs traditional AI SDKs: What builders should know](https://docs.0mcp.io/learn/fundamentals/mcp-vs-traditional-sdks.md): Compare MCP servers with traditional API and AI SDKs, including consumers, interfaces, distribution, authentication, and when to use both. - [Comparing MCP SDKs: Python vs TypeScript vs Go](https://docs.0mcp.io/learn/fundamentals/mcp-sdk-comparison.md): Compare official MCP SDKs for Python, TypeScript, and Go by ecosystem, type system, deployment, concurrency, and team fit. - [MCP Inspector: A guide to testing and debugging](https://docs.0mcp.io/learn/fundamentals/mcp-inspector-guide.md): Use MCP Inspector to connect to local and remote servers, inspect capabilities, call tools, test resources and prompts, and diagnose protocol errors. - [RAG vs MCP: Differences and when to combine them](https://docs.0mcp.io/learn/fundamentals/rag-vs-mcp.md): Compare retrieval-augmented generation with the Model Context Protocol and learn when an AI system needs RAG, MCP, or both. - [Hosts, clients, and servers in MCP](https://docs.0mcp.io/learn/core-concepts/hosts-clients-servers.md): Understand the roles of MCP hosts, clients, and servers, how they connect, and where control and security responsibilities belong. - [Tools](https://docs.0mcp.io/learn/core-concepts/tools.md): Learn what MCP tools are, how models discover and call them, how tool schemas and results work, and how tools differ from resources. - [Resources](https://docs.0mcp.io/learn/core-concepts/resources.md): Learn how MCP resources provide application-controlled context through URIs, resource templates, read requests, and optional subscriptions. - [Prompts](https://docs.0mcp.io/learn/core-concepts/prompts.md): Learn how MCP prompts provide reusable, user-controlled message templates with arguments and optional embedded context. - [Sampling](https://docs.0mcp.io/learn/core-concepts/sampling.md): Learn how MCP sampling lets servers request model generations through a client while the client retains control over models, permissions, and user approval. - [Transports](https://docs.0mcp.io/learn/core-concepts/transports.md): Understand how MCP transports carry JSON-RPC messages over stdio or Streamable HTTP and how to choose between local and remote connections. - [Turning OpenAPI specs into MCP servers](https://docs.0mcp.io/learn/build/openapi-to-mcp-server.md): Learn how to convert an OpenAPI specification into an MCP server, map API operations to tools, handle schemas and authentication, and test the result. - [From REST API to MCP server: A migration guide](https://docs.0mcp.io/learn/build/rest-api-to-mcp-server.md): Convert a REST API directly into an MCP server and follow a staged migration plan covering tool design, authentication, testing, and deployment. - [MCP server generators: Tools compared](https://docs.0mcp.io/learn/build/mcp-server-generators.md): Compare hosted, code-generating, gateway-based, and SDK approaches for creating MCP servers from OpenAPI, REST APIs, GraphQL APIs, and custom code. - [The MCP TypeScript SDK: Building clients and servers](https://docs.0mcp.io/learn/build/typescript-sdk.md): Build MCP servers and clients with the official TypeScript SDK, register tools, choose a transport, connect a client, and prepare for production. - [The MCP Python SDK: Building clients and servers](https://docs.0mcp.io/learn/build/python-sdk.md): Build MCP servers and clients with the official Python SDK and FastMCP, define typed tools, connect through stdio, and prepare for production. - [How the MCP ecosystem is evolving](https://docs.0mcp.io/learn/build/mcp-ecosystem-evolution.md): Understand how MCP is evolving across remote deployment, discovery, SDKs, extensions, governance, security, and production agent workflows. - [MCP Server Security](https://docs.0mcp.io/learn/security/mcp-server-security.md): Protect an MCP server from prompt injection, token theft, SSRF, command injection, session hijacking, excessive permissions, and supply-chain attacks. - [MCP authentication](https://docs.0mcp.io/learn/security/authentication.md): Understand identity and credential verification in MCP, including remote OAuth access, local server credentials, and upstream API authentication. - [MCP authorization](https://docs.0mcp.io/learn/security/authorization.md): Learn how MCP authorization protects remote servers with OAuth, resource metadata, access tokens, audience validation, scopes, and least privilege. - [API key management best practices for MCP servers](https://docs.0mcp.io/learn/security/api-key-management.md): Store, scope, rotate, monitor, and revoke API keys safely without exposing credentials to models, logs, source code, or client configuration. - [Real-time monitoring and logging for MCP servers](https://docs.0mcp.io/learn/best-practices/monitoring-and-logging.md): Learn which MCP server logs, metrics, traces, dashboards, and alerts you need to operate reliable and secure AI integrations. - [How to test an MCP server](https://docs.0mcp.io/learn/best-practices/how-to-test-mcp-servers.md): Test MCP servers with unit, contract, protocol, integration, security, and performance checks before production. - [Error handling and debugging for MCP servers](https://docs.0mcp.io/learn/best-practices/error-handling-and-debugging.md): Diagnose MCP connection, protocol, tool, transport, authentication, and upstream API errors with a repeatable debugging workflow. - [MCP API documentation guide](https://docs.0mcp.io/learn/best-practices/api-documentation-guide.md): Document MCP servers, tools, resources, prompts, authentication, errors, examples, versions, and operational limits for people and AI clients. - [MCP server configuration best practices](https://docs.0mcp.io/learn/best-practices/server-configuration.md): Configure MCP servers safely across development and production with validated settings, secret isolation, timeouts, limits, and version control. - [MCP server prompting guide](https://docs.0mcp.io/learn/best-practices/server-prompting-guide.md): Design MCP prompts, server instructions, and tool descriptions that help AI clients choose capabilities accurately and safely. - [10 useful MCP servers for developers](https://docs.0mcp.io/learn/best-practices/best-mcp-servers.md): Compare ten maintained MCP servers for source control, browser automation, payments, docs, observability, databases, cloud, and local development. - [MCP streaming performance and transport trade-offs](https://docs.0mcp.io/learn/best-practices/streaming-performance-tradeoffs.md): Understand MCP Streamable HTTP, SSE, stdio, progress updates, resumability, latency, scaling, and long-running operation trade-offs. - [MCP server architecture for API providers](https://docs.0mcp.io/learn/best-practices/architecture-for-api-providers.md): Design an MCP adapter for an existing REST or GraphQL API with clear tool boundaries, authentication, deployment, observability, and versioning. - [AGENTS](https://docs.0mcp.io/AGENTS.md) - [Prompts](https://docs.0mcp.io/capabilities/prompts.md): Create reusable prompt templates for MCP clients. - [Resources](https://docs.0mcp.io/capabilities/resources.md): Share static content with MCP clients. - [Tools](https://docs.0mcp.io/capabilities/tools.md): Learn how 0mcp turns your API operations into MCP tools. - [What is MCP?](https://docs.0mcp.io/concepts/what-is-mcp.md): Understand the Model Context Protocol in plain language. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.