MCP.so
Sign In

MCP_TOOL_POISONING_ATTACKS

@RyosukeDTomita

About MCP_TOOL_POISONING_ATTACKS

MCP Client and server for study

Basic information

Category

Other

License

Unlicense

Runtime

node

Transports

stdio

Publisher

RyosukeDTomita

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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.

Comments

More Other MCP servers