Learn how to integrate Model Context Protocol (MCP) servers into your agent specifications.
Model Context Protocol (MCP) enables agents to connect to external data sources and services through standardized server integrations. Agent Script Tools provides built-in support for defining and validating MCP integrations.
---name:research-agentdescription:AI agent with research capabilitiestools:read, write, mcp__context7__get-library-docs, mcp__sequential-thinking__analyzemodel:claude-3-5-sonnet---
fromagent_script_spec.modelsimportFrontmatterfrontmatter=Frontmatter(name="research-agent",description="AI agent with research capabilities",tools={"read","write","mcp__context7__get-library-docs","mcp__context7__resolve-library-id","mcp__sequential-thinking__analyze"},model="claude-3-5-sonnet")# Automatically extracted server namesprint(frontmatter.mcp_server_names)# Output: ["context7", "sequential-thinking"]
### MCP Integration*context7: Research AI frameworks, model documentation, best practices, safety guidelines
*sequential-thinking: Complex AI system design, multi-step reasoning workflows, optimization strategies
---name:ai-research-assistantdescription:Advanced AI research and analysis agenttools:read, write, mcp__context7__get-library-docs, mcp__sequential-thinking__analyzemodel:claude-3-5-sonnet---
### MCP Integration*context7: Access latest AI research papers and framework documentation
*sequential-thinking: Multi-step analysis for complex research questions
---name:data-analystdescription:Specialized data analysis and visualization agenttools:pandas, matplotlib, mcp__context7__resolve-library-id, mcp__brave-search__web-searchmodel:claude-3-5-sonnet---
### MCP Integration*context7: Python data science library documentation and best practices
*brave-search: Research industry trends and external datasets
# Good - Specific and actionable*context7: Access comprehensive documentation for Python ML libraries including scikit-learn, TensorFlow, and PyTorch
# Less helpful - Too vague *context7: Get documentation
### MCP Integration*context7: Primary documentation source for AI frameworks and libraries
*sequential-thinking: Complex reasoning workflows that leverage context7 research findings
*brave-search: External validation and supplementary research for context7 findings