Skip to main content
Glama
MCP Project Template

MCP Project Template

by th-an

MCP Project Template

A universal, architecture-agnostic blueprint for building Model Context Protocol servers.

Quick Start

# Install
pip install -e ".[dev]"

# Run tests
pytest tests/ -v

# Start server
python -m mcp_server.server

Related MCP server: Kroki MCP

Project Structure

src/mcp_server/
├── server.py          # MCP server entry point
├── engine/            # Domain logic (pure computation)
├── store/             # Persistence layer
├── security/          # Encryption, attestation
├── export/            # Output format renderers
├── ingest/            # Data ingestion pipeline
├── forensics/         # Analysis/detection modules
└── mcp/               # MCP protocol layer

Configuration

Set environment variables:

export MCP_PROJECT_DB_PATH=/path/to/database.db
export MCP_PROJECT_ENC_KEY=your-base64-encoded-key

Testing

# All tests
pytest tests/ -v

# Determinism tests
pytest tests/test_determinism.py -v

# With coverage
pytest tests/ --cov=mcp_server

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      A Model Context Protocol server template designed for building custom servers using the @intelagent/mcp-shared library. It provides boilerplate code and example tools to streamline the development, testing, and deployment of new MCP servers.
      3
      55 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A production-ready MCP server scaffold that features built-in authentication, Docker support, and a comprehensive CI/CD release pipeline. It provides a standardized template for deploying servers with multi-transport support and configurable read-only modes.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A production-ready foundation for developing custom Model Context Protocol (MCP) servers in TypeScript. Provides a complete layered architecture pattern, working example implementation, and comprehensive developer infrastructure to connect AI assistants with external APIs and data sources.
      425 npm
      74
      ISC
    • A
      license
      A
      quality
      D
      maintenance
      A production-ready foundation for building secure, observable MCP servers with built-in authentication, rate limiting, and reference tools like database-query and semantic-search.
      15
      MIT