原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Symfony Agent MCP

作者:shakaran版本 1.0.2i★ –i在你的电脑上运行
注册名称io.github.shakaran/symfony-agent-mcp

安装

概览

作者提供的说明(英文原文)

Read-only Symfony introspection: routes, services, entities, Doctrine, security, Twig and more.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 网络安全
  • 你需要填写:SYMFONY_MCP_SESSION_SECRET, SYMFONY_MCP_SESSION_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: SYMFONY_MCP_DYNAMIC_TOOLS, SYMFONY_MCP_TOKEN_BUDGET, SYMFONY_MCP_ALLOWED_PATHS, SYMFONY_MCP_SESSION_SECRET, SYMFONY_MCP_SESSION_TOKEN, SYMFONY_MCP_AUDIT, SYMFONY_MCP_DLP

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "symfony-agent": {
      "command": "npx",
      "args": [
        "-y",
        "@shakaran/symfony-agent-mcp"
      ],
      "env": {
        "SYMFONY_MCP_DYNAMIC_TOOLS": "your-value",
        "SYMFONY_MCP_TOKEN_BUDGET": "your-value",
        "SYMFONY_MCP_ALLOWED_PATHS": "your-value",
        "SYMFONY_MCP_SESSION_SECRET": "your-value",
        "SYMFONY_MCP_SESSION_TOKEN": "your-value",
        "SYMFONY_MCP_AUDIT": "your-value",
        "SYMFONY_MCP_DLP": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add symfony-agent --env SYMFONY_MCP_DYNAMIC_TOOLS=your-value --env SYMFONY_MCP_TOKEN_BUDGET=your-value --env SYMFONY_MCP_ALLOWED_PATHS=your-value --env SYMFONY_MCP_SESSION_SECRET=your-value --env SYMFONY_MCP_SESSION_TOKEN=your-value --env SYMFONY_MCP_AUDIT=your-value --env SYMFONY_MCP_DLP=your-value -- npx -y @shakaran/symfony-agent-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "symfony-agent": {
      "command": "npx",
      "args": [
        "-y",
        "@shakaran/symfony-agent-mcp"
      ],
      "env": {
        "SYMFONY_MCP_DYNAMIC_TOOLS": "your-value",
        "SYMFONY_MCP_TOKEN_BUDGET": "your-value",
        "SYMFONY_MCP_ALLOWED_PATHS": "your-value",
        "SYMFONY_MCP_SESSION_SECRET": "your-value",
        "SYMFONY_MCP_SESSION_TOKEN": "your-value",
        "SYMFONY_MCP_AUDIT": "your-value",
        "SYMFONY_MCP_DLP": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "symfony-agent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shakaran/symfony-agent-mcp"
      ],
      "env": {
        "SYMFONY_MCP_DYNAMIC_TOOLS": "your-value",
        "SYMFONY_MCP_TOKEN_BUDGET": "your-value",
        "SYMFONY_MCP_ALLOWED_PATHS": "your-value",
        "SYMFONY_MCP_SESSION_SECRET": "your-value",
        "SYMFONY_MCP_SESSION_TOKEN": "your-value",
        "SYMFONY_MCP_AUDIT": "your-value",
        "SYMFONY_MCP_DLP": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • SYMFONY_MCP_DYNAMIC_TOOLS env
    Progressive tool discovery. Left on, tools/list advertises five discovery meta-tools and the rest become callable once a category is activated (~828 tokens on connect). Set to false to advertise all…
  • SYMFONY_MCP_TOKEN_BUDGET env
    Token ceiling for the schemas a session may have active at once.
  • SYMFONY_MCP_ALLOWED_PATHS env
    Colon-separated allowlist of directories the server may read. Any app_path outside them is refused.
  • SYMFONY_MCP_SESSION_SECRET 机密 env
    Enables session-token authentication. Unset, authentication is off.
  • SYMFONY_MCP_SESSION_TOKEN 机密 env
    Client-side token, required only once SYMFONY_MCP_SESSION_SECRET is set.
  • SYMFONY_MCP_AUDIT env
    Encrypted audit log of every tool call.
  • SYMFONY_MCP_DLP env
    Scan every result for credentials before returning it. Turning this off is reported as CRITICAL by the startup audit.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 shakaran 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“网络安全”中的其他服务器比较i

  • 星标数多于此分类中其他 1004 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1004 个服务器的 38% 更新
  • 基础检查结果等于或优于此分类中其他 1004 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Symfony Agent MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:SYMFONY_MCP_SESSION_SECRET, SYMFONY_MCP_SESSION_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.2)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Unicode Security MCP, Osv MCP, Epss MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Unicode Security MCP

Local checks for Unicode confusables, mixed scripts, invisible controls, and suspicious identifiers.

作者:mrfentmen非常新↓ 50/周今天更新

在你的电脑上运行

Osv MCP

MCP server for OSV open source vulnerability data and package security checks.

作者:mrfentmen非常新↓ 64/周今天更新

在你的电脑上运行

Epss MCP

Exploit Prediction Scoring System scores: how likely a CVE will be exploited in the next 30 days.

作者:mrfentmen非常新↓ 152/周今天更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

symfony-agent-mcp

Features • Quick Start • Integration • Usage • Documentation • Contributing • License


A production-ready Model Context Protocol (MCP) server for Symfony applications. Gives AI assistants deep, read-only introspection into your entire Symfony codebase — routes, controllers, services, entities, database schema, migrations, events, forms, security, Doctrine, Messenger, Twig, API Platform, and much more.

ClientInstall
Claude CodeRun claude mcp add → setup
Claude DesktopAdd to claude_desktop_config.json → setup
CursorAdd to .cursor/mcp.json → setup
VS Code CopilotAdd to .vscode/mcp.json → setup
Any MCP clientstdio transport, command: npx @shakaran/symfony-agent-mcp

Features

1,677 Tools across 16 Categories
Available tool categories (16 categories, 1,677 tools total, ~164,615 tokens if all active)

Category │ Tools │ Est. tokens │ Description ─────────────────┼────────────┼───────────────┼──────────────────────────────────────────────────────── symfony-core │ 548 tools │ ~ 53939 tokens │ Routes, services, controllers, events, commands, bundles, DI container, kernel database │ 176 tools │ ~ 17121 tokens │ Entities, migrations, Doctrine ORM, relationships, query patterns, indexes, DBAL security │ 132 tools │ ~ 12950 tokens │ Voters, firewalls, authenticators, JWT, OAuth, CSRF, access control, secrets vault frontend │ 121 tools │ ~ 11568 tokens │ Twig, translations, asset mapper, Symfony UX, Turbo, live components, Webpack testing │ 110 tools │ ~ 10559 tokens │ PHPUnit, Behat, Cypress, Playwright, Psalm, PHPStan, Rector, static analysis integrations │ 106 tools │ ~ 10939 tokens │ Stripe, Slack, Sentry, Elasticsearch, Twilio, SendGrid, Mailgun, Datadog, OpenAI serializer │ 91 tools │ ~ 9031 tokens │ Serializer, validation, forms, constraints, DTOs, transformers, normalizers messaging │ 87 tools │ ~ 8455 tokens │ Messenger, notifier, webhooks, Mercure, mailer, transports, stamps, failure handling api │ 68 tools │ ~ 6438 tokens │ API Platform, OpenAPI, GraphQL, REST patterns, versioning, rate limits, Nelmio infrastructure │ 68 tools │ ~ 6794 tokens │ Docker, CI/CD, Kubernetes, Terraform, Helm, Nginx, serverless, cloud platforms cache-sessions │ 62 tools │ ~ 5945 tokens │ Cache pools, HTTP cache, sessions, rate limiter, lock, cache warmers, OPcache config │ 35 tools │ ~ 3157 tokens │ Environment config, framework settings, Monolog, CORS, locale, feature flags code-quality │ 25 tools │ ~ 2447 tokens │ Profiler, dead code detection, dependency graph, accessibility, code metrics cloud-aws │ 18 tools │ ~ 1945 tokens │ AWS S3, SES, Cognito, ECS, Lambda/Bref, Parameter Store, Secrets Manager, CloudFront cloud-other │ 16 tools │ ~ 1851 tokens │ Azure Blob/Pipelines, Google Cloud Run/Storage, Firebase, DigitalOcean, Consul queues │ 14 tools │ ~ 1476 tokens │ RabbitMQ, Kafka, SQS FIFO/DLQ, Pusher, Redis pub/sub and streams

To activate a category: call activate_category(category: " ") To search for specific tools: call search_tools(query: "what you want to do")

Security-first design
  • Read-only — never writes, modifies, or executes anything
  • Auto-redaction — passwords, tokens, API keys, and database credentials are replaced with [REDACTED] before any data reaches the AI
  • DLP pipeline — multi-layer Data Loss Prevention scanner (regex patterns + structural detection for credit cards, JWTs, SSH keys, cloud credentials, etc.)
  • Path validation — directory traversal attacks are blocked at the input layer
  • No code execution — PHP files are parsed statically (no eval, no PHP runtime)
  • No network calls — all data comes from local files only
  • Prompt injection filter — tool output is scanned for injection patterns before being forwarded to the AI

Quick Start

Option A: npx (no install required)
npx @shakaran/symfony-agent-mcp
Option B: Install globally
npm install -g @shakaran/symfony-agent-mcp

symfony-agent-mcp

Option C: From source
git clone https://github.com/shakaran/symfony-agent-mcp

cd symfony-agent-mcp pnpm install pnpm build pnpm start

See GETTING_STARTED.md for a step-by-step guide including Node.js setup, troubleshooting, and first-use verification.


Integration

One-click Install
ClientInstall
Cursor
VS Code
VS Code Insiders
Windsurf
Claude Code
Claude Desktop
Claude Code

Run once to register the server:

# npx (no local install required)

claude mcp add symfony -- npx @shakaran/symfony-agent-mcp

Or from a local source build

claude mcp add symfony -- node /path/to/symfony-agent-mcp/dist/server.js

To make it available globally across all projects, add the --scope user flag:

claude mcp add --scope user symfony -- npx @shakaran/symfony-agent-mcp
Claude Desktop

Add to your Claude Desktop configuration file (claude_desktop_config.json):

{

"mcpServers": { "symfony": { "command": "npx", "args": ["@shakaran/symfony-agent-mcp"] } } }

Cursor

Add to .cursor/mcp.json:

{

"symfony": { "command": "npx", "args": ["@shakaran/symfony-agent-mcp"] } }

VS Code Copilot

Add to .vscode/mcp.json:

{

"servers": { "symfony": { "type": "stdio", "command": "npx", "args": ["@shakaran/symfony-agent-mcp"] } } }


Usage

Every tool accepts an app_path parameter pointing to the root of your Symfony application:

list_routes(app_path: "/var/www/myapp")

→ Found 42 routes: GET /api/users [api_users], POST /login [app_login], …

get_entity_details(app_path: "/var/www/myapp", entity_name: "User") → Entity: User | Table: users Properties: id (int, PK), email (string 180), isActive (bool) Relationships: OneToMany → Post (author)

get_error_summary(app_path: "/var/www/myapp") → Last 24h: 3 CRITICAL, 12 ERROR, 47 WARNING

get_code_quality_report(app_path: "/var/www/myapp") → God classes: UserManager (1240 lines), dead services: 4, N+1 risks: 7

Example prompts you can use with Claude:

  • *"Show me all routes with POST methods and their controllers"*
  • *"Which services are tagged with doctrine.event_listener?"*
  • *"List the last 50 lines of the production log"*
  • *"Are there any circular dependencies in the service container?"*
  • *"What Doctrine entities have relationships with User?"*
  • *"Show me the migration history and any destructive migrations"*
  • *"Which controllers have no security attributes?"*

Configuration

All configuration is done via environment variables passed to the MCP server

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx