gpkg-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gpkg-mcplist all services"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
gpkg-mcp
Standalone knowledge graph MCP server for Moleculer/Go microservice projects. Scans a project directory, extracts service metadata (actions, commands, queries, routes, events, dependencies), seeds Neo4j, and exposes everything via a Python MCP server that any LLM client (Claude Desktop, Cursor, the gp-langchain bot) can call.
What it does
Scans TypeScript/JavaScript Moleculer services (layered, CQRS, gateway) and Go services
Extracts per-action metadata: handler type, params validator,
ctx.calldependencies (regex + variable resolution)Seeds Neo4j knowledge graph and writes per-service markdown docs
Serves a FastMCP server over Streamable HTTP or stdio
Caches scan fingerprints with a
schema_versionso improved extractors always trigger a re-scan
Related MCP server: code-graph-mcp
Quick start (with sample data)
# One-shot bootstrap: checks prereqs, seeds sample services, starts MCP
./start.shThe script: checks uv + Neo4j, runs uv sync, seeds sample/ data into Neo4j, then starts the server on http://localhost:8000/mcp.
Manual setup
cp .env.sample .env
# edit .env — set GPKG_NEO4J_URI / GPKG_NEO4J_PASSWORD at minimum
uv sync
# Scan a project
uv run gpkg scan ../my-project
# Query the knowledge graph
uv run gpkg query "payment transfer"
# Start the MCP server
uv run gpkg serveCommands
Command | Description |
| Scan all services under |
| Enable LLM validation for low-confidence architecture detections |
| Bypass fingerprint cache, rescan everything |
| Set parallel scan concurrency (default: 5) |
| Full-text query against the seeded KG |
| Filter results to one service |
| Start MCP server (streamable-http on port 8000) |
| Start for Claude Desktop / Cursor local use |
MCP tools
Tool | Description |
| Scan all services; returns |
| Scan a single service; returns |
| Full-text search; returns |
| Full stored knowledge for one service |
| All known services with arch type + confidence |
Resource: kb://{service_name} — the generated markdown doc for a service.
Configuration
Copy .env.sample to .env:
Variable | Default | Description |
|
| Neo4j bolt URI |
|
| Neo4j username |
| (empty) | Neo4j password |
|
| Markdown KB output directory |
|
| Parallel scan workers |
|
| Enable LLM validation pass |
|
| Model for architecture validation |
|
| Only run LLM when confidence is below this |
| (empty) | Bearer token for MCP server (empty = unauthenticated) |
| (empty) | Required when |
Docker
# Build
docker build -t gpkg-mcp .
# Run with a local .env and data volume
docker run --env-file .env -p 8000:8000 -v $(pwd)/knowledge_base:/data/knowledge_base gpkg-mcp
# Scan a project (mount it read-only)
docker run --env-file .env \
-v $(pwd)/knowledge_base:/data/knowledge_base \
-v /path/to/my-project:/project:ro \
gpkg-mcp uv run gpkg scan /projectArchitecture detection
Type | Detection signal |
|
|
|
|
|
|
|
|
|
|
| No Moleculer; Express / Gin / Echo / Fiber |
Confidence levels: high → medium → low. LLM validation runs when confidence is below GPKG_LLM_CONFIDENCE_THRESHOLD.
Cache schema version
knowledge/cache.py has a CACHE_SCHEMA_VERSION constant (currently 4). Bump it whenever an extractor changes — the next scan will ignore all cached fingerprints and re-scan everything.
Running tests
uv run pytestTests cover: LayeredMoleculerExtractor action/handler/call extraction, cache schema version invalidation, and MCP tool shapes (mocked store, no Neo4j needed).
This server cannot be installed
Maintenance
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
- AlicenseAqualityCmaintenanceAn MCP server that enables LLMs to perform semantic and fulltext searches within Neo4j while executing complex, search-augmented Cypher queries for GraphRAG applications. It provides tools for database schema discovery and supports multi-provider embeddings to facilitate advanced graph traversals.Last updated52MIT
- Alicense-qualityAmaintenanceA high-performance code knowledge graph server implementing MCP, indexing codebases into a structured AST knowledge graph with semantic search, call graph traversal, and HTTP route tracing.Last updated4,37560MIT
- Flicense-qualityDmaintenanceAn in-memory knowledge graph MCP server that gives coding agents structural and semantic recall over codebases by indexing Python source, ADR documents, and project configuration, exposing 7 tools for search, traversal, context retrieval, and natural-language Q&A.Last updated
- Alicense-qualityDmaintenanceInstant codebase knowledge graph MCP server. It auto-detects languages, indexes functions, classes, and call chains, enabling LLMs to navigate code in milliseconds.Last updatedMIT
Related MCP Connectors
Local-first RAG engine with MCP server for AI agent integration.
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Knowledge coverage map and health score. Ingest docs into a governed knowledge graph via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/truongtnn404/gpkg-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server