What Are MCP Servers?

MCP (Model Context Protocol) is an open standard for connecting AI models to external tools and data sources. MCP servers act as bridges between your agents and the outside world.

When an agent needs to query Google Analytics, search Ahrefs, or call a custom API, it does so through an MCP server.


How It Works

Agent → MCP Server → External Service
                  ← Data/Results
  1. The agent decides it needs external data (e.g., website traffic)
  2. It calls an MCP tool (e.g., mcp__google-analytics__runReport)
  3. The MCP server handles authentication and API calls
  4. Results are returned to the agent

MCP servers run as separate processes alongside the agent. They're started when a conversation begins and stopped when it ends.


Types of MCP Servers

stdio (Standard I/O)

The most common type. The MCP server runs as a child process, communicating via stdin/stdout.

{
  "type": "stdio",
  "command": "npx",
  "args": ["-y", "@anthropic-ai/mcp-google-analytics"],
  "env": {
    "GA_PROPERTY_ID": "12345678"
  }
}

SSE (Server-Sent Events)

Remote MCP servers accessed over HTTP. Useful for shared infrastructure.

{
  "type": "sse",
  "url": "https://mcp.example.com/sse"
}

What MCP Servers Provide

CapabilityDescriptionExample
ToolsFunctions the agent can callrunReport, searchKeywords
ResourcesData the agent can readConfiguration files, schemas
PromptsPre-built prompt templatesReport templates

Most MCP servers primarily provide tools. When installed, these tools appear with the naming pattern:

mcp__{server-name}__{tool-name}

For example:

  • mcp__ahrefs__site-explorer-domain-rating
  • mcp__google-analytics__runReport
  • mcp__search-console__get_top_queries

Built-in Platform Tools

TeamDay provides three MCP servers automatically — no installation needed:

ServerTool NamePurpose
teamday-mediaMediaGenerationGenerate images and videos
teamday-adminTeamdayAdminManage platform resources
teamday-uiUICommandControl the chat interface

See Platform Tools for details.


IntegrationWhat It Does
Google AnalyticsQuery GA4 traffic data, page performance, user behavior
Google Search ConsoleSearch impressions, clicks, CTR, keyword rankings
AhrefsBacklinks, domain rating, keyword research, competitor analysis
SlackSend messages, read channels, manage threads
GitHubIssues, PRs, code search, repository management
PostgreSQL / MySQLDatabase queries and schema inspection
FilesystemRead/write files outside the sandbox

MCP vs Skills

MCP ServersSkills
PurposeConnect to external servicesTeach agents workflows
LoadingAt conversation startOn-demand (progressive discovery)
FormatRunning process (stdio/SSE)Markdown file + optional scripts
Best forAPI integrations, databasesLocal automation, domain expertise

Rule of thumb: If it requires a network call to an external service, use an MCP. If it's a local workflow or set of instructions, use a Skill.


Next Steps