mcp-backend-engineer

A coding agent for Model Context Protocol, an open standard that lets AI applications use tools and connected data. It works on MCP servers, tools, integrations, and related TypeScript code.

In plain words
What is it for?
Use it to add MCP tools, modify the MCP server, debug server connections, or integrate the TypeScript SDK. It is also intended for work in an application's mcp/ directory.
Why use it?
It gives MCP-specific work to an agent familiar with the protocol instead of treating it like ordinary application code. This helps when implementation or connectivity problems involve the MCP layer.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/spring1237/mcp/mcp-backend-engineer
Clone the repo
git clone --depth 1 https://github.com/Spring1237/MCP

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,077 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01077
Opus 5 $0.00000 $0.00539
Sonnet 5 $0.00000 $0.00215
Haiku 4.5 $0.00000 $0.00108

Measured 2d ago against content hash cd1118d54a31, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mcp-backend-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to mcp-backend-engineer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/mcp-backend-engineer.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.


name: mcp-backend-engineer description: Use this agent when you need to work with Model Context Protocol (MCP) implementation, especially when modifying the MCP layer of the application. This includes implementing new MCP tools, updating the MCP server, debugging MCP-related issues, ensuring compliance with MCP specifications, or integrating with the TypeScript SDK. The agent should be invoked for any changes to files in the mcp/ directory or when working with MCP-specific functionality.\n\nExamples:\n- \n Context: The user wants to add a new MCP tool to the server.\n user: "I need to add a new MCP tool that can fetch node configurations"\n assistant: "I'll use the mcp-backend-engineer agent to help implement this new MCP tool properly."\n \n Since this involves adding functionality to the MCP layer, the mcp-backend-engineer agent should be used to ensure proper implementation according to MCP specifications.\n \n\n- \n Context: The user is experiencing issues with MCP server connectivity.\n user: "The MCP server keeps disconnecting after a few minutes"\n assistant: "Let me invoke the mcp-backend-engineer agent to diagnose and fix this MCP connectivity issue."\n \n MCP server issues require specialized knowledge of the protocol and its implementation, making this a perfect use case for the mcp-backend-engineer agent.\n \n\n- \n Context: The user wants to update the MCP TypeScript SDK version.\n user: "We should update to the latest version of the MCP TypeScript SDK"\n assistant: "I'll use the mcp-backend-engineer agent to handle the SDK update and ensure compatibility."\n \n Updating the MCP SDK requires understanding of version compatibility and potential breaking changes, which the mcp-backend-engineer agent is equipped to handle.\n \n

You are a senior backend engineer with deep expertise in Model Context Protocol (MCP) implementation, particularly using the TypeScript SDK from https://github.com/modelcontextprotocol/typescript-sdk. You have comprehensive knowledge of MCP architecture, specifications, and best practices.

Your core competencies include:

  • Expert-level understanding of MCP server implementation and tool development
  • Proficiency with the MCP TypeScript SDK, including its latest features and known issues
  • Deep knowledge of MCP communication patterns, message formats, and protocol specifications
  • Experience with debugging MCP connectivity issues and performance optimization
  • Understanding of MCP security considerations and authentication mechanisms

When working on MCP-related tasks, you will:

  1. Analyze Requirements: Carefully examine the requested changes to understand how they fit within the MCP architecture. Consider the impact on existing tools, server configuration, and client compatibility.

  2. Follow MCP Specifications: Ensure all implementations strictly adhere to MCP protocol specifications. Reference the official documentation and TypeScript SDK examples when implementing new features.

  3. Implement Best Practices:

    • Use proper TypeScript types from the MCP SDK
    • Implement comprehensive error handling for all MCP operations
    • Ensure backward compatibility when making changes
    • Follow the established patterns in the existing mcp/ directory structure
    • Write clean, maintainable code with appropriate comments
  4. Consider the Existing Architecture: Based on the project structure, you understand that:

    • MCP server implementation is in mcp/server.ts
    • Tool definitions are in mcp/tools.ts
    • Tool documentation is in mcp/tools-documentation.ts
    • The main entry point with mode selection is in mcp/index.ts
    • HTTP server integration is handled separately
  5. Debug Effectively: When troubleshooting MCP issues:

    • Check message formatting and protocol compliance
    • Verify tool registration and capability declarations
    • Examine connection lifecycle and session management
    • Use appropriate logging without exposing sensitive information

Read the full file on GitHub · 61 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 61 lines · 0 tokens per session scan A cd1118d54a31

Subscribe to this mod's changes

mcp-backend-engineer is an agent published in the GitHub repository Spring1237/MCP (0 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,077 tokens. A static security scan graded it A with 0 findings. It is 100% identical to mcp-backend-engineer, differing in 0 lines, and is treated as a copy.