Skip to main content
Glama
Kishan960615

Enterprise MCP Server

by Kishan960615

Enterprise MCP Server

CI Python MCP License

A secure, multi-tenant Model Context Protocol server that gives AI clients controlled access to enterprise knowledge bases, SQL databases, REST APIs, files, and GitHub.

This is Project 3 in the Techne AI OSS portfolio and is designed to integrate with the Enterprise RAG Platform and Enterprise AI Agent Platform.

What it demonstrates

  • MCP tools, resources, and prompts over Streamable HTTP or stdio

  • Authorization-filtered capability discovery and default-deny policies

  • Enterprise RAG search with citations

  • Parsed, bounded, read-only SQL

  • Allowlisted REST operations

  • Root-confined file search and reads

  • Allowlisted GitHub file access at revisions

  • Tenant-scoped, hash-chained audit records

  • Typed plugin/registry contracts

  • Health, metrics, Docker, CI, and adversarial tests

Related MCP server: GitHub MCP Bridge

Architecture

flowchart LR
    C["MCP clients<br/>Agents, Codex, IDEs"] --> T["HTTP / stdio"]
    T --> A["Authentication"]
    A --> P["Policy engine"]
    P --> R["Capability registry"]
    R --> X["Bounded executor"]
    X --> KB["Knowledge/RAG"]
    X --> SQL["Read-only SQL"]
    X --> API["Allowlisted REST"]
    X --> FS["Confined files"]
    X --> GH["GitHub"]
    X --> AU[("Audit store")]

Quick start

Local Python

cp .env.example .env
uv sync --all-groups
uv run uvicorn enterprise_mcp.app:create_app --factory --reload

Open:

  • MCP endpoint: http://localhost:8000/mcp/

  • Health: http://localhost:8000/health/ready

  • API documentation: http://localhost:8000/docs

  • Metrics: http://localhost:8000/metrics

Docker

docker compose up --build

The Compose demo includes PostgreSQL, Redis, the MCP server, a synthetic REST/knowledge service, and confined sample files. It does not require paid credentials. The container endpoint is published at http://localhost:8013 so it can run beside the other portfolio projects.

Try the operational API

Development mode uses an explicit synthetic principal:

curl http://localhost:8000/api/v1/capabilities
curl http://localhost:8000/api/v1/audit/events

MCP client configuration

{
  "mcpServers": {
    "enterprise": {
      "url": "http://localhost:8000/mcp/"
    }
  }
}

Development mode is intentionally convenient. Production configuration refuses to start without OIDC settings and PostgreSQL.

Built-in tools

Tool

Purpose

Safety boundary

system.capabilities

List authorized capabilities

discovery filtered by policy

knowledge.search

Search enterprise knowledge

bounded results and citations

sql.query

Query a named SQL connection

parsed SELECT-only and row limits

rest.request

Call a named REST operation

no arbitrary URLs

files.search

Search an approved root

canonical root confinement

files.read

Read a bounded text range

size/range/path checks

github.get_file

Read an allowlisted repo file

repository allowlist and revision

Security model

  • Verified identity creates tenant context; callers cannot supply a tenant argument.

  • Capability discovery and invocation both enforce policy.

  • R3/R4 operations cannot execute without an approval design; v1 tools are read-only.

  • Arguments are fingerprinted for audit rather than stored raw.

  • SQL, URL, file, result-size, timeout, and repository boundaries are independently enforced.

  • Production rejects development authentication, SQLite, and wildcard CORS.

Read SECURITY.md and docs/ARCHITECTURE.md for details.

Development

make lint
make typecheck
make test-cov

Repository layout

src/enterprise_mcp/   application, MCP, security, connectors
tests/                unit, integration, MCP, security tests
docs/                 architecture, APIs, tool registry, implementation plan
deploy/               deployment assets
demo-data/            synthetic public fixtures

Roadmap

  • v0.1: protocol, connectors, policy, audit, Compose demo

  • v0.2: persistent RBAC/connector administration and API keys

  • v0.3: GitHub App installation authentication and plugin entry-point loader

  • v0.4: OpenTelemetry collector and Kubernetes reference deployment

  • v1.0: stable contracts, two-client compatibility, signed images and SBOM

License

Apache-2.0

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    A comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.
    Last updated
    30
    2
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI agents to securely access and interact with GitHub Enterprise data, providing access to enterprise users, organizations, emails, and license information.
    Last updated
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol server that provides AI assistants with comprehensive access to SQL databases, enabling schema inspection, query execution, and database operations with enterprise-grade security.
    Last updated
    53
    7
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.
    Last updated
    2

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.

  • A Model Context Protocol server for Wix AI tools

View all MCP Connectors

Latest Blog Posts

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/Kishan960615/enterprise-mcp-server'

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