mcp_builder_agent.py 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. """
  2. Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). for Qoder
  3. This agent module was automatically generated from Agent Skill.
  4. """
  5. class McpBuilderAgent:
  6. """
  7. Agent for Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
  8. """
  9. def __init__(self):
  10. self.name = "mcp-builder"
  11. self.description = "Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK)."
  12. def execute(self, task, context=None):
  13. """
  14. Execute the agent task
  15. Args:
  16. task: Task description or parameters
  17. context: Optional context information
  18. Returns:
  19. Task execution result
  20. """
  21. # Read instructions from SKILL.md
  22. # Execute skill workflow
  23. # Return result
  24. pass
  25. def get_capabilities(self):
  26. """Get agent capabilities"""
  27. return {
  28. "name": self.name,
  29. "description": self.description,
  30. "capabilities": ["task-execution"]
  31. }