Programmatic
Provides structural source code intelligence for TypeScript/TSX projects, enabling agents to list files, inspect files, find symbols and references, rename symbols, and run type checks.
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., "@ProgrammaticRename UserCard to ProfileCard"
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.
Programmatic
A structural programming interface for source code, designed for AI coding agents.
Today, agents edit code as text: search, read files, make edits, re-check, and hope they didn't miss a reference.
Programmatic gives agents structural code intelligence, turning operations like "rename this symbol" into semantic operations instead of string manipulation.
Status: Phase 1. Programmatic currently provides a TypeScript/TSX structural engine and an MCP server for AI coding agents.
What it does
import { openProject } from "@programmatic/typescript";
const project = openProject("./example-project");
project.inspectFile("src/UserCard.tsx");
project.findSymbol("UserCard");
project.findReferences("UserCard");
project.renameSymbol("UserCard", "ProfileCard");
project.check();
project.save();MCP tools
list_files
inspect_file
find_symbol
find_symbols
find_references
rename_symbol
checkAn agent can use these directly instead of reconstructing code structure through grep, file reads, and manual edits.
Related MCP server: TypeScript LSP MCP
Why structural?
Traditional
Read → Search → Inspect → Edit → Re-read → Fix → Type-check
Programmatic
Agent → Structural operation → TypeScript Language ServiceProgrammatic uses the TypeScript Language Service for semantic resolution and reference finding, then applies minimal text edits to preserve the original source.
Renames understand scopes, imports, exports, JSX, and references while leaving comments, strings, and unrelated identifiers untouched.
Benchmark
Initial evaluation against text-based Claude Code workflows on Zod v3.23.8:
Metric | Programmatic | Raw text |
Pass rate | 100% | 88% |
Avg. tokens | 133k | 560k |
Avg. calls | 4.4 | 11 |
Avg. time | 14s | 79s |
Avg. cost | $0.096 | $0.280 |
For these rename tasks, the raw workflow used approximately 4.2× more tokens, 2.5× more tool calls, 5.6× more time, and 2.9× more cost.
These are initial results from a single repository and model.
See docs/mcp-hands-on-eval.md for the methodology and docs/battle-test-report.md for engine testing.
Install
npm install
npm run build
npm testArchitecture
AI coding agent
↓
Programmatic MCP
↓
Programmatic API
↓
TypeScript Language Service
↓
TypeScript / TSXSee docs/api.md and docs/architecture-decision.md.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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 Connectors
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Codebase intelligence for agents: 152 structured artifacts across 21 programs, one call.
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables querying and analyzing code relationships by building a lightweight graph of TypeScript and Python symbols. Supports symbol lookup, reference tracking, impact analysis from diffs, and code snippet retrieval through natural language.-
- AlicenseBqualityDmaintenanceExposes TypeScript Language Server Protocol functionality to AI agents, enabling them to query types at specific positions, find definitions and references, get diagnostics, run type tests, and type-check inline code just like in an IDE.91463MIT
- AlicenseNot gradedqualityDmaintenanceAST-aware TypeScript/JavaScript codebase exploration for AI agents, providing high-precision symbol resolution, reference finding, and structural analysis via MCP tools.199MIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to interact with TypeScript projects through compiler-level code intelligence, providing tools for navigation, type information, diagnostics, refactoring, and semantic search.293423Apache 2.0
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/DarkLordGeo/programmatic'
If you have feedback or need assistance with the MCP directory API, please join our Discord server