Gives agents structured access to TypeScript type definitions and documentation so they can use APIs that are not in their training data.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add typescribe --env PATH_TO_API_DOT_JSON='<PATH_TO_API_DOT_JSON>' -- npx -y mcp-typescribe@latest run-server '<PATH_TO_API_DOT_JSON>'~/.codex/config.toml
[mcp_servers.typescribe]
command = "npx"
args = ["-y", "mcp-typescribe@latest", "run-server", "<PATH_TO_API_DOT_JSON>"]
env = { PATH_TO_API_DOT_JSON = "<PATH_TO_API_DOT_JSON>" }
# codex mcp add typescribe --env PATH_TO_API_DOT_JSON='<PATH_TO_API_DOT_JSON>' -- npx -y mcp-typescribe@latest run-server '<PATH_TO_API_DOT_JSON>'~/.cursor/mcp.json
{
"mcpServers": {
"typescribe": {
"command": "npx",
"args": [
"-y",
"mcp-typescribe@latest",
"run-server",
"<PATH_TO_API_DOT_JSON>"
],
"env": {
"PATH_TO_API_DOT_JSON": "<PATH_TO_API_DOT_JSON>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"typescribe": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-typescribe@latest",
"run-server",
"<PATH_TO_API_DOT_JSON>"
],
"env": {
"PATH_TO_API_DOT_JSON": "<PATH_TO_API_DOT_JSON>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"typescribe": {
"command": "npx",
"args": [
"-y",
"mcp-typescribe@latest",
"run-server",
"<PATH_TO_API_DOT_JSON>"
],
"env": {
"PATH_TO_API_DOT_JSON": "<PATH_TO_API_DOT_JSON>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"typescribe": {
"command": "npx",
"args": [
"-y",
"mcp-typescribe@latest",
"run-server",
"<PATH_TO_API_DOT_JSON>"
],
"env": {
"PATH_TO_API_DOT_JSON": "<PATH_TO_API_DOT_JSON>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"typescribe": {
"command": "npx",
"args": [
"-y",
"mcp-typescribe@latest",
"run-server",
"<PATH_TO_API_DOT_JSON>"
],
"env": {
"PATH_TO_API_DOT_JSON": "<PATH_TO_API_DOT_JSON>"
}
}
}
}Environment variables
PATH_TO_API_DOT_JSON
Replace the placeholders with your own credentials and keep them out of version control.