codesteward-mcp
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
What it does
Codesteward parses your codebase into a persistent structural graph and exposes four Model Context Protocol tools that AI agents (Claude Code, Cursor, Windsurf, Copilot, …) can call to answer questions like:
"Which functions are protected by JWT auth?"
"What does
process_paymentcall, transitively?""Which files depend on this external package?"
"Is this route guarded by an auth middleware?"
Rather than scanning files repeatedly, the agent queries a pre-built graph — cross-file relationships, call chains, auth guards, and dependency edges all resolved in a single query.
Supported languages: TypeScript · JavaScript · Python · Java · Go · Rust · PHP · C# · Kotlin · Scala · C · C++ · SQL (context tagging) · COBOL (regex)
Related MCP server: weavatrix-js
MCP Tools
Tool | Description |
| Parse a repository and write the structural graph to the configured backend (Neo4j, JanusGraph, or GraphQLite) or run in stub mode |
| Query via named templates ( |
| Add agent-inferred relationships (confidence < 1.0) back into the graph |
| Return metadata: node/edge counts, last build time, Neo4j connectivity |
| (optional) Run taint-flow analysis via the |
Claude Code Plugin
The fastest way to use Codesteward with Claude Code is the official plugin — it wires up the MCP server and installs three focused skills (/codesteward, /codesteward-security, /codesteward-deps):
claude plugin marketplace add codesteward/codesteward-plugin
claude plugin install codesteward@codestewardNo separate server setup needed. The plugin auto-starts codesteward-mcp with the GraphQLite backend via uvx. See the codesteward-plugin for full details.
For other AI tools (Cursor, Cline, Codex, Gemini) or alternative backends (Neo4j, JanusGraph), use the Quick Start below.
Quick Start
Automatic setup (recommended)
One-time setup. Works across every repository on your machine without any per-project config.
uvx --from "codesteward-mcp[graph-all,graphqlite]" codesteward-mcp setupThis auto-detects your AI tools (Claude Code, Cursor, Cline, Codex CLI, Gemini CLI), registers the MCP server globally, and merges workflow instructions into your existing config files — nothing is overwritten.
Uses GraphQLite by default: an embedded SQLite graph that persists to ~/.codesteward/graph.db. No Docker, no database server, no background processes.
To remove everything: uvx --from "codesteward-mcp[graph-all,graphqlite]" codesteward-mcp setup --uninstall
Prerequisites: uv · (optional) codesteward-taint on PATH
Usage — open any repo and start asking
cd /path/to/your/project
claude # or: cursor, cline, codex, gemini# The agent will automatically:
graph_status(repo_id="my-project")
graph_rebuild(repo_path="/path/to/your/project", repo_id="my-project") # if stale
codebase_graph_query(query_type="referential", query="authenticate", repo_id="my-project")No .mcp.json, no per-project config, no repeated setup.
For manual per-tool setup, Docker deployments, and alternative backends (Neo4j, JanusGraph), see the setup guides.
Manual setup — GraphQLite (local dev, no server)
If you prefer to configure manually, add this to your MCP client config:
{
"mcpServers": {
"codesteward-graph": {
"type": "stdio",
"command": "uvx",
"args": [
"--from", "codesteward-mcp[graph-all,graphqlite]",
"codesteward-mcp", "--transport", "stdio"
]
}
}
}Note: Claude Code requires
"type": "stdio"in the server config. Other tools (Cursor, Cline) don't need it.
Tool | Config file |
Claude Code |
|
Cursor |
|
Cline |
|
Codex CLI |
|
Gemini CLI |
|
Requires uv. uvx downloads and caches the package on first run. The graph persists to ~/.codesteward/graph.db across sessions.
Docker + Neo4j — persistent graph
# 1. Point the server at your repository
export REPO_PATH=/path/to/your/repository
# 2. Start Neo4j + MCP server
docker compose -f docker-compose.neo4j.yml up -d
# 3. Copy config templates into the repo you want to analyse
cp templates/.mcp.json /path/to/your/repository/
cp templates/CLAUDE.md /path/to/your/repository/The server runs at http://localhost:3000/sse. Call graph_rebuild() with no arguments — the server already knows the repo path from the volume mount.
Docker + JanusGraph — persistent graph (Apache 2.0)
# 1. Point the server at your repository
export REPO_PATH=/path/to/your/repository
# 2. Start JanusGraph + MCP server
docker compose -f docker-compose.janusgraph.yml up -d
# 3. Copy config templates into the repo you want to analyse
cp templates/.mcp.json /path/to/your/repository/
cp templates/CLAUDE.md /path/to/your/repository/Same workflow as the Neo4j stack — all named query templates work identically. Raw query passthrough uses Gremlin instead of Cypher.
Manual Docker run
docker run -p 3000:3000 \
-v /path/to/your/repo:/repos/project:ro \
-e NEO4J_PASSWORD=secret \
ghcr.io/codesteward/codesteward-graph:latestFor full setup instructions covering all AI tools, see the setup guides.
Installation
# All 14 languages + GraphQLite (recommended for local dev)
uv pip install "codesteward-mcp[graph-all,graphqlite]"
# Core languages only (TypeScript, JavaScript, Python, Java) + GraphQLite
uv pip install "codesteward-mcp[graph,graphqlite]"
# Individual language extras
uv pip install "codesteward-mcp[graph-go,graphqlite]" # Go
uv pip install "codesteward-mcp[graph-rust,graphqlite]" # Rust
uv pip install "codesteward-mcp[graph-csharp,graphqlite]" # C#
uv pip install "codesteward-mcp[graph-kotlin,graphqlite]" # Kotlin
uv pip install "codesteward-mcp[graph-scala,graphqlite]" # Scala
uv pip install "codesteward-mcp[graph-c,graphqlite]" # C
uv pip install "codesteward-mcp[graph-cpp,graphqlite]" # C++
uv pip install "codesteward-mcp[graph-php,graphqlite]" # PHP
# Neo4j backend (alternative — requires a running Neo4j 5+ server)
uv pip install "codesteward-mcp[graph-all]"
# JanusGraph backend (alternative — requires a running JanusGraph 1.0+ server)
uv pip install "codesteward-mcp[graph-all,janusgraph]"Requires Python 3.12+. GraphQLite is the default backend for local development — an embedded SQLite graph database that requires no external services. The graph persists to ~/.codesteward/graph.db across sessions.
Configuration
All settings can be provided via environment variables, a YAML config file, or CLI flags. Priority: CLI flags > env vars > YAML file > defaults.
Setting | Env var | Default | Description |
Transport |
|
|
|
Host |
|
| HTTP bind host |
Port |
|
| HTTP bind port |
Graph backend |
|
|
|
Neo4j URI |
|
| Neo4j connection URI |
Neo4j user |
|
| Neo4j username |
Neo4j password |
| (empty) | Set to enable Neo4j backend |
JanusGraph URL |
|
| Gremlin Server WebSocket URL |
GraphQLite DB path |
|
| SQLite database file path |
Default tenant |
|
| Tenant namespace |
Default repo |
| (empty) | Repo ID |
Default repo path |
|
| Server-side path for |
Workspace |
|
| Directory for build metadata |
Log level |
|
|
|
Taint Analysis (optional)
The taint_analysis tool is registered automatically when the codesteward-taint binary is on
PATH. Without it the server starts normally and the other four tools are unaffected.
Docker
Pass --build-arg TAINT_VERSION=<version> to download and bundle the binary:
docker build --build-arg TAINT_VERSION=0.1.0 -t codesteward-mcp:taint .Standalone
Download a pre-built binary from the
codesteward-taint releases and place it
on PATH:
# macOS (Apple Silicon)
curl -L https://github.com/Codesteward/codesteward-taint/releases/latest/download/codesteward-taint-darwin-arm64 \
-o /usr/local/bin/codesteward-taint
chmod +x /usr/local/bin/codesteward-taintWorkflow
graph_rebuild # build the structural graph first
taint_analysis # trace taint paths; writes TAINT_FLOW edges to Neo4j
codebase_graph_query # query_type="semantic" to read findingsGraph Model
Nodes — LexicalNode
Every parsed symbol becomes a LexicalNode:
Property | Description |
| Stable unique ID: |
|
|
| Symbol name |
| Repo-relative file path |
| Source location |
| Detected language |
| Multi-tenancy namespace |
|
|
Edges
Edge type | Meaning |
| Function A calls function B (cross-file resolved) |
| File/module imports another |
| Class inherits from another |
| Function protected by a decorator/annotation ( |
| Function protected by router-scope middleware ( |
| File depends on an external package |
| Untrusted input reaches a dangerous sink (written by |
| Agent-inferred edges with |
Development
# Setup
uv venv && source .venv/bin/activate
uv sync --all-packages --extra graph-all
# Run tests
pytest tests/ -v
# Run the server locally
codesteward-mcp --transport sse --port 3000
# Lint + type-check
ruff check src/ tests/
mypy src/Releases
See CHANGELOG.md for the full history or browse GitHub Releases.
License
Apache License 2.0 — Copyright (c) 2026, bitkaio LLC
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted code graph over MCP: exact callers, dependencies, and cross-repo blast radius for AI agents.
Shared context for your codebase: a hosted code knowledge graph over MCP. Free plan, OAuth sign-up.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Repository knowledge graph MCP server for codebase understanding and debugging.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides code intelligence for AI coding agents by indexing repositories into a hybrid knowledge graph, enabling agents to query dependencies, impact, and context through 28 MCP tools.4Apache 2.0
- AlicenseNot gradedqualityCmaintenanceLocal repository intelligence MCP server that builds a reusable graph of code structure for AI coding agents, providing 34 network-free tools for understanding, searching, and analyzing repositories without data leaving the machine.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to query a local, continuously updated symbol graph of a codebase, providing ranked search, caller/callee exploration, dependency paths, and git-diff impact analysis through MCP tools.3 npmApache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to query a local, multi-repo code graph for symbol exploration, blast radius analysis, co-change mining, and durable code-anchored memory via MCP tools.271 npm16Business Source 1.1