Skip to main content
Glama

Agentic AI System MCP Server

by saikumarjash

MCP-Based Agentic AI System

Production-ready, self-hosted AI infrastructure with Model Context Protocol.

Quick Start

  1. Install Dependencies

pip install -r requirements.txt
  1. Configure Environment

cp .env.example .env Edit .env with your configuration
  1. Initialize Database

python scripts/init_db.py
  1. Start Services

Start MCP Server python -m server.mcp_server Start API Server (in new terminal) python -m api.main
  1. Test the System

pytest tests/

Architecture

  • MCP Server: WebSocket-based protocol server

  • REST API: FastAPI application for HTTP access

  • Agent System: Autonomous AI agents with memory

  • Tool Registry: Extensible function execution

  • State Management: Redis + PostgreSQL persistence

API Documentation

Once running, visit: http://localhost:8000/docs

Configuration

All settings managed through environment variables:

  • Database: PostgreSQL connection

  • Redis: Caching and sessions

  • LLM: Model provider and settings

  • Security: JWT tokens and CORS

Deployment

Docker

docker-compose up -d

Kubernetes

kubectl apply -f kubernetes/

Monitoring

Prometheus metrics available at :9090/metrics

Support

For issues and questions, see docs/ directory.

-
security - not tested
-
license - not tested
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Enables deployment of autonomous AI agents with memory and tool execution capabilities through a WebSocket-based MCP protocol. Provides production-ready infrastructure with REST API access, persistent state management, and extensible function registry for building self-hosted AI systems.

  1. Quick Start
    1. Architecture
      1. API Documentation
        1. Configuration
          1. Deployment
            1. Docker
            2. Kubernetes
          2. Monitoring
            1. Support

              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/saikumarjash/mcp'

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