Skip to main content
Glama

CodeLogic

Official
Mozilla Public License 2.0
30
  • Apple
  • Linux
mcp-server-pattern.mdc721 B
--- description: Core coding patterns for MCP Server implementation globs: "**/*.py" alwaysApply: false --- - Use the following pattern for MCP server implementation: ```python server = Server("codelogic-mcp-server") @server.list_tools() async def handle_list_tools() -> list[types.Tool]: # Define and return tools @server.call_tool() async def handle_call_tool(name: str, arguments: dict | None) -> list[types.TextContent]: # Handle tool execution ``` - New tools should be added to handle_list_tools() with descriptive names (prefix: `codelogic-`) - Tool handlers should be implemented in handle_call_tool() - Create handler functions with proper error handling - Return results as markdown-formatted text

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CodeLogicIncEngineering/codelogic-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server