Skip to content

feat: claude mcp server#161

Merged
fmunteanu merged 3 commits into
mainfrom
feat/claude-mcp-server
Sep 15, 2025
Merged

feat: claude mcp server#161
fmunteanu merged 3 commits into
mainfrom
feat/claude-mcp-server

Conversation

@fmunteanu

@fmunteanu fmunteanu commented Sep 15, 2025

Copy link
Copy Markdown
Contributor

Objective

New Anthropic claude MCP server implementation, replacing filesystem MCP server:

  • claude:Bash - Execute shell commands with proper quoting, timeouts, and background execution support, following OS permissions.
  • claude:BashOutput - Monitor output from background processes with regex filtering.
  • claude:Edit - Make precise string replacements in files. Great for targeted changes.
  • claude:ExitPlanMode - Transition from planning to implementation phase.
  • claude:Glob - Fast file pattern matching (e.g., **/*.js, src/**/*.ts). Essential for finding files by pattern.
  • claude:Grep - Powerful search using ripgrep with regex support, context lines, and multiple output modes. Superior to bash grep.
  • claude:KillBash - Terminate background shell processes.
  • claude:MultiEdit - Apply multiple edits to a single file atomically. Efficient for complex refactoring.
  • claude:NotebookEdit - Specialized editing for Jupyter notebooks with cell-level operations.
  • claude:Read - Read files with line numbers, supports images, PDFs, and Jupyter notebooks. Perfect for examining code structure and content.
  • claude:Task - Launch specialized agents (general-purpose, statusline-setup, output-style-setup) for autonomous multi-step tasks.
  • claude:TodoWrite - Create and manage structured task lists for complex multi-step work. Tracks progress systematically.
  • claude:Write - Create new files or overwrite existing ones. Requires reading the file first if it exists.

The tools are available in both Claude Code and Code Desktop.

Documentation

Install Claude Code and replace the filesystem MCP server with:

    "claude": {
      "command": "claude",
      "args": [
        "mcp",
        "serve"
      ]
    },

Tool Usage Example

Claude delegated the following task to a sub-agent, in Claude Desktop:

claude:Task(
  subagent_type: "general-purpose", 
  description: "Analyze MCP LSP architecture",
  prompt: "Analyze the MCP LSP project architecture in /Users/floren/github/mcp-lsp/src. I need you to:

1. **Map the component relationships** - How do the 4 main modules (index, mcp, client, config, tool) interact with each other?
2. **Identify key abstractions** - What are the main interfaces and classes, and what design patterns are used?
3. **Find potential improvements** - Look for code quality issues, architectural concerns, or areas for optimization.
4. **Document the LSP→MCP mapping** - How does this bridge convert LSP capabilities to MCP tools?

Use the Read, Glob, and Grep tools systematically to understand the codebase thoroughly. Provide a comprehensive technical analysis with specific code examples and recommendations."
)
image

Scope

  • Bug (resolves an issue)
  • Enhancement (improves existing functionality)
  • Feature (adds new functionality)
  • Documentation (adds or improves documentation)

Impact

  • Non-breaking (backwards compatible)
  • Breaking (backwards incompatible, impacts end-user)

Checklist

  • My code follows the contributing guidelines of this project
  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • My changes generate no new issues or warnings

@fmunteanu fmunteanu self-assigned this Sep 15, 2025
@fmunteanu fmunteanu added documentation Improvements or additions to documentation feature Additions of new functionality labels Sep 15, 2025
@fmunteanu
fmunteanu merged commit 39a5ace into main Sep 15, 2025
@fmunteanu
fmunteanu deleted the feat/claude-mcp-server branch September 15, 2025 08:42
@fmunteanu fmunteanu mentioned this pull request Sep 15, 2025
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation feature Additions of new functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant