Cortex icon

Cortex

CreatedFreePeak

Declaratively builds Model Context Protocol (MCP) servers in Go, exposing tools, resources, and prompts.

About

Cortex provides a declarative platform for building Model Context Protocol (MCP) servers in Golang. It streamlines the process of exposing tools, resources, and prompts to Large Language Models (LLMs) in a structured and standardized way. By handling MCP protocol messages and lifecycle events, Cortex simplifies the creation of MCP servers that can be connected to various transports like STDIO and Server-Sent Events (SSE). Cortex aligns with the latest MCP specification and promotes Go best practices and clean architecture principles for building robust and efficient MCP servers.

Key Features

  • Declarative server configuration
  • Handles MCP protocol messages and lifecycle events
  • 9 GitHub stars
  • Plugin system for extending server capabilities
  • Support for stdio and SSE transports
  • Utilities for testing and debugging

Use Cases

  • Building MCP servers to expose resources and tools to LLMs
  • Developing custom plugins to extend server functionality
  • Creating providers to group related tools and resources