MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 logo

MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器

Organization
yWorks

An MCP server implementation enabling LLMs to work with new APIs and frameworks

PublisheryWorks
Repositorymcp-typescribe
LanguageTypeScript
Forks
10
Stars
46
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    46 stars and 10 forks from the linked repository.

[!CAUTION] Public development is currently suspended as no active community formed. We are working on a follow-up project, specifically for the yFiles API. You can read more, here: yFiles MCP Server. yFiles developers can use the MCP to query API, development guides, source code snippets and recipes using those tools, instead. They work far better than the implementation in this repository.

npm version

MCP-Typescribe - an MCP Server providing LLMs API information

The Problem

Large Language Models (LLMs) have made incredible strides in code generation and developer productivity. However, they face a key limitation: they can only reliably use APIs and libraries they’ve seen during training. This creates a bottleneck for adopting new tools, SDKs, or internal APIs — LLMs simply don’t know how to use them effectively.

While tools can be given source code access (when interacting with APIs for which the sources are available) or access to documentation files (e.g. typescript type definition files), this doesn't scale well for large APIs. LLMs need a more efficient way to learn more about an API. Putting all the documentation into context for every request is inefficient, unfeasible, and leads to poor results.

As a result:

Larger new or internal APIs remain "invisible" to LLMs.

Developers must manually guide LLMs or provide example usage.

Innovation is slowed by the lag between an API’s release and its widespread understanding by AI tools.

The Idea

This project is an open-source implementation of the Model Context Protocol (MCP)—a protocol designed to provide LLMs with contextual, real-time access to information. In this case it's the API documentation, and particularly for now in this project TypeScript definitions.

Our goal is to:

Parse TypeScript (and other) definitions into a machine-readable format.

Serve this context dynamically to LLMs through tools like Claude, Cline, Cursor, or Windsurf and other custom interfaces.

Enable agentic behavior by letting LLMs query, plan, and adapt to unfamiliar APIs without retraining.

What This Enables

Plug-and-play API support for LLM-based coding assistants.

Faster onboarding for new or proprietary SDKs.

A step toward more autonomous, context-aware coding agents.

Project Overview

Image

This project provides a way for AI agents to efficiently explore and understand unknown TypeScript APIs. It loads TypeDoc-generated JSON documentation and exposes it through a set of query endpoints that allow agents to search for symbols, get detailed information about specific parts of the API, and understand relationships between different components.

Current Features

  • TypeDoc Integration: Loads and indexes TypeDoc JSON documentation for efficient querying
  • Comprehensive Query Capabilities: Provides a wide range of tools for exploring TypeScript APIs
  • MCP Protocol: Follows the Model Context Protocol for seamless integration with AI agents

Query Capabilities

The server provides the following tools for querying the API:

  • search_symbols: Find symbols by name with optional filtering by kind
  • get_symbol_details: Get detailed information about a specific symbol
  • list_members: List methods and properties of a class or interface
  • get_parameter_info: Get information about function parameters
  • find_implementations: Find implementations of interfaces or subclasses
  • search_by_return_type: Find functions returning a specific type
  • search_by_description: Search in JSDoc comments
  • get_type_hierarchy: Show inheritance relationships
  • find_usages: Find where a type/function is used

Getting Started

Prerequisites

  • Node.js
  • npm

Installation

  1. Clone the repository
  2. Install dependencies:
    bash
    npm install

Usage

  1. Generate TypeDoc JSON for your TypeScript API:

    bash
    npx typedoc --json docs/api.json --entryPointStrategy expand path/to/your/typescript/files

    If you (only) have an existing.d.ts file, you can create an api json file like so:

    Create a separate tsconfig.docs.json:

    json
    {
      "extends": "./tsconfig.json",
      "files": ["existing.d.ts"],
      "typedocOptions": {
        "entryPoints": ["existing.d.ts"],
        "json": "docs/api.json",
        "pretty": false
      }
    }

    Then do

    bash
    npx typedoc --tsconfig tsconfig.docs.json
  2. Build the project:

    bash
    npm run build
  3. Explore the MCP server:

    bash
    npx @modelcontextprotocol/inspector node ./dist/mcp-server/cli.js run-server docs/api.json
  4. Connect an AI agent to the server to query the API

    E.g. with cline in VSCode, specify the following MCP server in cline_mcp_settings.json:

    json
    {
      "mcpServers": {
        "typescribe": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-typescribe@latest",
            "run-server",
            "<PATH_TO_API_DOT_JSON>"
          ],
          "env": {}
        }
      }
    }
  5. Enable the server and likely auto-approve the various tools. Tell the agent to use the "typescribe" tool to learn about your API.

Project Structure

  • src/sample-api/: A sample TypeScript API for testing - it uses a weird German-like dialect for the API names to test that the LLM does not hallucinate the API
  • src/mcp-server/: The MCP server implementation
    • utils/: Utility functions
    • schemas/: JSON schemas for the MCP tools
    • core/: Core functionality
    • server.ts: The MCP server implementation
    • index.ts: Entry point for the library exports
    • cli.ts: the entry point for the CLI/binary
  • tests/: Tests for the API functionality

Development

Running Tests

bash
npm test

Building

bash
npm run build

License

MIT

Copyright 2025 yWorks GmbH - https://www.yworks.com

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "yworks-mcp-typescribe": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-typescribe"
      ]
    }
  }
}

Use MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "yworks-mcp-typescribe": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-typescribe"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 to help me with this task?
MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器
Sure. I read it.
Here is what I found using MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器.

Frequently asked questions

What is the MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 MCP server used for?

MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 MCP to TypingMind?

MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 MCP provide in TypingMind?

MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If MCP-Typescribe - 提供 LLM API 信息的 MCP 服务器 requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇