mcpField
A
A1d Image Video Mcp Tools

A1d Image Video Mcp Tools

Local
github.com/AIGC-HackersMedia & Design0Updated 74w ago

About A1d Image Video Mcp Tools

A1d Image Video Mcp Tools is an MCP server for image and video processing through A1D AI tools. It serves MCP-compatible clients and supports operations from background removal to text-based image generation.

Key features

  1. 01AI background removal
  2. 02Image upscaling
  3. 03Video upscaling
  4. 04Image vectorization
  5. 05Smart image extension
  6. 06Text-to-image generation

Use cases

  1. 01Remove photo or product-image backgrounds
  2. 02Increase image or video resolution
  3. 03Convert images to SVG graphics
  4. 04Generate images from text descriptions

MCP support

Exposes image and video processing tools to MCP-compatible clients over the SSE endpoint https://mcp.a1d.ai/sse. Requests use an A1D API key supplied in the api_key header.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"aigc-hackers": {
"command": "npx",
"args": [
"-y",
"mcp-remote"
],
"env": {
"MCP_API_KEY": "<MCP_API_KEY>"
}
}
}
}
Run commandnpx -y mcp-remote
Environment variables to set
MCP_API_KEYSecret

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmcp-remote

Tools

6

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
image_urlstringYes

Details

From the project README

A1D MCP Server - Universal AI Tools

A powerful MCP (Model Context Protocol) server that provides AI image and video processing tools for any MCP-compatible client. Ready to use with zero setup required.

🤖 Available AI Tools

ToolDescriptionUse Cases
remove_bgAI background removalRemove backgrounds from photos, product images
image_upscalerAI image enhancementUpscale images 2x, 4x, 8x, 16x resolution
video_upscalerAI video enhancementImprove video quality and resolution
image_vectorizationConvert to vectorsTurn images into scalable SVG graphics
image_extendsSmart image extensionExpand image boundaries intelligently
image_generatorText-to-image AIGenerate images from text descriptions

🚀 Quick Setup (2 minutes)

1. Get Your API Key
2. Connect Your MCP Client

For Claude Desktop: Add this to your Claude Desktop configuration file:

{
  "mcpServers": {
    "a1d": {
      "command": "npx",
      "args": [
        "mcp-remote@latest",
        "https://mcp.a1d.ai/sse",
        "--header",
        "api_key:${MCP_API_KEY}"
      ],
      "env": {
        "MCP_API_KEY": "your_api_key_here"
      }
    }
  }
}

For MCP Inspector:

  • Start: npx @modelcontextprotocol/inspector
  • Transport Type: SSE
  • URL: https://mcp.a1d.ai/sse
  • Add header: api_key: your_api_key_here

For other MCP clients:

  • Server URL: https://mcp.a1d.ai/sse
  • Authentication: Header api_key: your_api_key_here
3. Restart Your Client

That's it! You'll see the AI tools available in your MCP client.

💡 How to Use

Once configured, simply ask your AI assistant to help with image or video tasks:

  • "Remove the background from this image"
  • "Upscale this image to 4x resolution"
  • "Convert this photo to a vector graphic"
  • "Generate an image of a sunset over mountains"

🔧 Configuration Help

Claude Desktop Configuration File Locations

Windows: %APPDATA%\Claude\claude_desktop_config.json macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json

Troubleshooting

Tools not showing up?

  • Restart your MCP client after adding configuration
  • Verify your API key is correct
  • Check the configuration file syntax

Connection issues?

# Test the connection directly
npx mcp-remote https://mcp.a1d.ai/sse --header "api_key:your_api_key"

Clear cache if needed:

rm -rf ~/.mcp-auth

📚 Resources

🛠️ For Developers

Want to add more tools or customize the server? This repository contains the complete source code with a configuration-driven architecture.

Local Development
git clone https://github.com/AIGC-Hackers/a1d-mcp-server.git
cd a1d-mcp-server
npm install
npm run start

The local server will start on http://localhost:8787. You can test it with your API key by adding the api_key header to requests.

Adding New Tools

Simply edit src/config/tools.json to add new AI tools without writing code:

{
  "name": "new_tool",
  "description": "Tool description",
  "apiEndpoint": "/api/endpoint",
  "inputSchema": { /* ... */ },
  "zodValidation": { /* ... */ }
}

See docs/ADD_NEW_TOOL.md for detailed instructions.

🔐 Security

  • User-provided credentials: This server expects users to provide their own A1D API keys via headers
  • No stored secrets: All API keys are passed through request headers, nothing is stored server-side
  • Report vulnerabilities: See SECURITY.md for responsible disclosure

🤝 Contributing

We welcome contributions! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Follow the existing code style
  4. Add tests for new features
  5. Submit a pull request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Built with ❤️ by the A1D Team
A1D.ai • GitHub • API Docs

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.