MCP server
What is an MCP server?
An MCP server is a program that gives AI applications a standard way to discover data and use external tools. It implements the Model Context Protocol, but is not the AI model, a database, or an API itself.
How an MCP server works
- An AI host connects through an MCP client.
- The client discovers the server's available capabilities.
- The AI requests approved context or a tool action.
- The server validates permissions and runs the request.
- The server returns a structured result. Local connections often use stdio; remote servers commonly use HTTP.
Tools, resources, and prompts
| Capability | Initiated by | Example |
|---|---|---|
| Tool | AI client | Create a pull request |
| Resource | Client or user | Read an issue file |
| Prompt | User | Start a code-review workflow |
MCP server vs. API
| MCP server | API |
|---|---|
| Describes AI-ready capabilities for discovery and use. | Exposes functions or data for software clients. |
| May wrap one or more APIs. | Can exist without MCP. |
MCP is not an API gateway, though a server can sit in front of APIs.
Benefits of MCP servers
MCP can make agent integrations more repeatable.
- Reusable capabilities across compatible clients.
- Consistent descriptions of tools and context.
- Controlled access to live systems.
Practical limits and security risks
Standardization does not make a tool safe.
- Use scoped credentials and explicit approval for write actions.
- Treat prompt injection and untrusted server packages as security risks.
- Log actions, test permissions, and avoid returning sensitive data unnecessarily.
A practical MCP server example
A GitHub MCP server can let a coding assistant inspect issues and draft a pull request, while requiring human approval before publishing it. See how to build an app from Claude using Emergent MCP.
Using MCP servers with Emergent
Emergent helps people build full-stack apps that connect AI workflows to MCP-enabled services. Its Kite MCP and Yahoo Finance integration tutorial shows a practical connection pattern. Build MCP-connected apps with Emergent.
on Emergent today

