MCP Server Specifications
MCP (Model Context Protocol) server specifications define how agents connect to external tools and services.
Overview​
MCP servers provide tools and resources to agents through a standardized protocol. Each specification defines the command to run, arguments, environment variables, and transport method.
Required Fields​
id (string)​
Unique identifier (kebab-case, e.g., kaggle, github, filesystem)
name (string)​
Display name shown in the UI
description (string)​
Server capabilities description
command (string)​
Executable command to start the server
command: python
command: npx
command: node
args (list of strings)​
Command arguments including environment variable references
args:
- "-m"
- "mcp_remote"
- "--Authorization"
- "Bearer ${KAGGLE_TOKEN}"
Optional Fields​
transport (string)​
Transport protocol ("stdio" or "remote")
transport: stdio # Standard input/output
transport: remote # Remote HTTP connection
envvars (list of strings)​
Required environment variable IDs. References specs in envvars/ directory.
envvars:
- KAGGLE_TOKEN
- GITHUB_TOKEN
env (object)​
Environment variables to set for the server process
env:
NODE_ENV: production
LOG_LEVEL: info
tags (list of strings)​
Categorization tags
tags:
- data
- kaggle
- datasets
icon (string)​
UI icon identifier
emoji (string)​
UI emoji identifier
Environment Variable Expansion​
Use ${VAR_NAME} syntax in args for environment variable expansion:
args:
- "-m"
- "mcp_remote"
- "--Authorization"
- "Bearer ${KAGGLE_TOKEN}"
- "--accept"
- "application/json"
- "--"
- "https://mcp.kaggle.com"
envvars:
- KAGGLE_TOKEN
The ${KAGGLE_TOKEN} will be expanded at runtime by consuming systems.
Complete Example​
# Copyright (c) 2025-2026 Datalayer, Inc.
# Distributed under the terms of the Modified BSD License.
id: kaggle
name: Kaggle MCP Server
description: Access Kaggle datasets, competitions, and kernels
command: python
args:
- "-m"
- "mcp_remote"
- "--Authorization"
- "Bearer ${KAGGLE_TOKEN}"
- "--accept"
- "application/json"
- "--"
- "https://mcp.kaggle.com"
transport: remote
envvars:
- KAGGLE_TOKEN
tags:
- data
- kaggle
- datasets
MCP Server Hierarchy​
MCP Server Specification
├── Basic Info (id, name, description, tags)
├── Execution (command, args, transport)
├── Environment
│ ├── envvars (required environment variables)
│ └── env (variables to set for the process)
└── UI (icon, emoji)
Available MCP Servers​
The following MCP servers are defined in agentspecs/mcp-servers/:
tavily- Web search via Tavily APIfilesystem- Local filesystem operationsgithub- GitHub repository operationsgoogle-workspace- Google Workspace integrationslack- Slack messagingkaggle- Kaggle datasets and competitionsalphavantage- Financial market datachart- Chart generation
Best Practices​
- ID Format: Use kebab-case (
kaggle, notKaggleorkaggle_mcp) - Command: Use full command names (
python, notpy) - Args: Break arguments into separate list items for clarity
- Environment Variables: Always define required envvars in the
envvarsfield - Variable Expansion: Use
${VAR_NAME}syntax consistently - Transport: Specify
stdiofor local processes,remotefor HTTP connections - Tags: Use consistent tags for better categorization
- Description: Be specific about what tools and resources the server provides