MCP.so
登录

MCP_TOOL_POISONING_ATTACKS

@RyosukeDTomita

关于 MCP_TOOL_POISONING_ATTACKS

MCP Client and server for study

基本信息

分类

其他

许可证

Unlicense

运行时

node

传输方式

stdio

发布者

RyosukeDTomita

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp_tool_poisoning_attacks": {
      "command": "docker",
      "args": [
        "compose",
        "build"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP_TOOL_POISONING_ATTACKS?

It is a project that includes an MCP Client and an MCP Server, designed to interact with tools through the Model Context Protocol. It integrates with Anthropic's Claude model (claude-3-5-haiku-20241022) and demonstrates using IP information tools.

How to use MCP_TOOL_POISONING_ATTACKS?

Set up the environment using Dev Containers or Docker, create a .env file with your ANTHROPIC_API_KEY, and configure mcp_client/mcpservers.json with the desired MCP servers. Run the client with node dist/index.js (Dev Containers) or docker compose run -it mcp_client (Docker), then enter prompts to use available tools.

Key features of MCP_TOOL_POISONING_ATTACKS

  • Includes both MCP Client and MCP Server implementations
  • Supports tools like ipinfo for IP address lookup
  • Integrates with Anthropic’s Claude API
  • Can connect to multiple MCP servers via configuration
  • Runs in Dev Containers or Docker environments
  • Uses node.js v22 and the MCP TypeScript SDK

Use cases of MCP_TOOL_POISONING_ATTACKS

  • Querying detailed IP address information through the ipinfo tool
  • Prototyping MCP client‑server interactions
  • Testing tool‑augmented AI workflows with Claude
  • Demonstrating how to configure and run MCP servers like burp or ipinfo

FAQ from MCP_TOOL_POISONING_ATTACKS

What dependencies are required to run MCP_TOOL_POISONING_ATTACKS?

You need node.js v22, the MCP TypeScript SDK, and an Anthropic API key (for claude-3-5-haiku-20241022). Docker and VSCode with Dev Containers are optional but recommended.

How do I configure which MCP server to use?

Edit the mcp_client/mcpservers.json file to list your servers. The client currently uses the first server listed in that file.

What tools are available?

The example includes two tools: ipinfo (get your own IP) and ipinfo_target_ipjson (get IP information for a target IP provided in the user’s request). A burp server is also configurable.

How do I run the project in a Docker container?

Build the Docker image with docker compose build, then run docker compose run -it mcp_client. Ensure you have created the .env file and mcpservers.json first.

评论

其他 分类下的更多 MCP 服务器