C

Code Context Provider

Analyzes project directories to extract code structure and symbols using Tree-sitter parsers, providing tools for generating directory trees and performing deep

Code·No reviews yet
Repo
Share:

About

Analyzes project directories to extract code structure and symbols using Tree-sitter parsers, providing tools for generating directory trees and performing deep code analysis of JavaScript, TypeScript, and Python files.

Example tools

Illustrative tool names — the actual tool set is defined by the server at runtime.

list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP

Screenshots

No screenshots yet.

Frequently Asked Questions

Common questions about Code Context Provider.

What is the Code Context Provider MCP?
This MCP analyzes code projects to extract structural information and symbols. It uses Tree-sitter parsers to support JavaScript, TypeScript, and Python, enabling deep code analysis and directory tree generation.
How do I install the Code Context Provider with a client like Claude Desktop?
Installation details depend on the specific MCP client used. Generally, you would add the Code Context Provider's repository URL (https://github.com/ab498/code-context-provider-mcp) within your client's settings or MCP management interface.
Does the Code Context Provider require an API key or other credentials?
No, the Code Context Provider does not require an API key, OAuth, or other external credentials for operation. It is designed for local analysis without external service dependencies.
What are the primary capabilities of the Code Context Provider?
Its primary capabilities include parsing code with Tree-sitter, generating directory trees, and performing deep code analysis. It specifically supports JavaScript, TypeScript, and Python files.
What are the licensing terms for the Code Context Provider?
The Code Context Provider's licensing is determined by its repository (https://github.com/ab498/code-context-provider-mcp). Developers should consult the LICENSE file within the repository for specific terms and conditions.
What is a limitation of the Code Context Provider?
A limitation is its current support only for JavaScript, TypeScript, and Python. Projects in other languages would not be fully analyzed without extending its Tree-sitter parser configurations.

Install Code Context Provider

Claude Desktop

Add this to claude_desktop_config.json.

{
  "mcpServers": {
    "code-context-provider": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-code-context-provider"
      ]
    }
  }
}

Cursor

Add this to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "code-context-provider": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-code-context-provider"
      ]
    }
  }
}

VS Code

Add this to your workspace settings.json.

{
  "mcp.servers": {
    "code-context-provider": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-code-context-provider"
      ]
    }
  }
}

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Discussion(0)

Sign in to join the discussion.

No comments yet.