Skip to main content
Glama
blakeyoder

TypeScript Definitions MCP Server

by blakeyoder

get_project_info

Retrieve current TypeScript project details including dependencies and structure to enable type-safe development and testing workflows.

Instructions

Get information about the current TypeScript project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function that executes the get_project_info tool logic by fetching installed packages and project config using WorkspaceDetector and returning a JSON summary.
    private async handleGetProjectInfo() { const packages = WorkspaceDetector.getInstalledPackages(this.config.rootPath); return { content: [ { type: "text", text: JSON.stringify({ config: this.config, installedPackages: packages.length, packagesWithTypes: packages.filter(p => p.hasTypes).length, packages: packages.slice(0, 20) // Limit to first 20 for readability }, null, 2) } ] }; }
  • Tool registration in the MCP server tools array, including name, description, and input schema.
    { name: "get_project_info", description: "Get information about the current TypeScript project", inputSchema: { type: "object", properties: {}, additionalProperties: false } },
  • Input schema definition for the get_project_info tool, specifying no required properties.
    inputSchema: { type: "object", properties: {}, additionalProperties: false }

Latest Blog Posts

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/blakeyoder/typescript-definitions-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server