AgentDrop MCP Server

0.2.22 · active · verified Wed Apr 22

The `agentdrop-mcp-server` package provides the Model Context Protocol (MCP) server for the AgentDrop ecosystem, facilitating secure, structured communication and tool access for AI agents. It acts as a core infrastructure component, enabling agents to send and receive files, manage connections, and execute predefined tools like `send_file` and `download_transfer` without needing to implement underlying cryptographic details (X25519/AES-256-GCM). The current stable version is 0.2.22, indicating an active development phase, though release cadence is not explicitly stated. Key differentiators include its tight integration with AgentDrop for AI agent communication, automatic encryption/decryption of file transfers, and self-updating agent profile retrieval, positioning it as a dedicated agent communication backbone rather than a general-purpose server.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates how to install the `agentdrop-mcp-server` globally and how to configure an MCP client to launch it with necessary environment variables.

npm install -g agentdrop-mcp-server

# Configure your MCP client (e.g., Claude Code, Cursor) to use this server.
# This example shows a typical JSON configuration snippet for an MCP client.
# Replace placeholders with your actual AgentDrop API key and agent IDs.
# Ensure AGENTDROP_CONFIG_DIR points to a persistent directory for agent state.

console.log('Starting AgentDrop MCP Server via npx...');

// This command would be executed by your MCP client, not directly run by you.
// It sets environment variables for the server to pick up its configuration.
// In a real scenario, this would be part of your MCP client's configuration.

// Example of how an MCP client might invoke it:
// You would typically configure this in your IDE/client settings, not run it manually.
// This snippet demonstrates the required environment variables.
const AGENTDROP_API_KEY = process.env.AGENTDROP_API_KEY ?? 'agd_your_api_key_here';
const AGENTDROP_AGENT_ID = process.env.AGENTDROP_AGENT_ID ?? 'your-agent-id-here';
const AGENTDROP_AGENT_UUID = process.env.AGENTDROP_AGENT_UUID ?? 'your-agent-uuid-here';
const AGENTDROP_CONFIG_DIR = process.env.AGENTDROP_CONFIG_DIR ?? '/path/to/.agentdrop';

console.log(`
{
  "mcpServers": {
    "agentdrop": {
      "command": "npx",
      "args": ["agentdrop-mcp-server"],
      "env": {
        "AGENTDROP_API_KEY": "${AGENTDROP_API_KEY}",
        "AGENTDROP_AGENT_ID": "${AGENTDROP_AGENT_ID}",
        "AGENTDROP_AGENT_UUID": "${AGENTDROP_AGENT_UUID}",
        "AGENTDROP_CONFIG_DIR": "${AGENTDROP_CONFIG_DIR}"
      }
    }
  }
}
`);

console.log('Ensure you have configured your MCP client to launch the server with these environment variables.');
console.log('Refer to docs.agent-drop.com for full setup instructions.');

view raw JSON →