My Awesome MCP
ddg-mcp4
An awesome MCP generated by AI
Features
๐ Built with FastMCP framework
๐ Supports both stdio and HTTP transports
๐ณ Docker ready
๐ Type hints throughout
๐งช Test suite included
โ๏ธ GitHub Actions CI/CD
Installation
Clone this repository
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activateInstall dependencies:
pip install -r requirements.txt pip install -e .
Usage
Stdio Transport (for Claude Desktop, etc.)
ddg_mcp4-mcp --transport stdioHTTP Transport (for web integration)
ddg_mcp4-mcp --transport streamable-http --port 8080Docker
# Build image
docker build -t ddg-mcp4 .
# Run container
docker run -p 8080:8080 ddg-mcp4Available Tools
example_tool: Echo a message backget_server_info: Get information about this MCP server
Development
Running Tests
pip install pytest pytest-asyncio
pytest tests/Adding New Tools
Create a new function in
ddg_mcp4/app.pyDecorate it with
@mcp.tool()Add proper type hints and docstring
The tool will automatically be available to MCP clients
Example:
@mcp.tool()
async def my_new_tool(input_text: str) -> Dict[str, Any]:
"""
Description of what this tool does.
Args:
input_text: Description of the parameter
Returns:
Dictionary with the result
"""
return {"result": f"Processed: {input_text}"}Configuration
Deployment
Docker Deployment
This project includes a Dockerfile for easy deployment:
docker build -t ddg-mcp4 .
docker run -p 8080:8080 ddg-mcp4CI/CD
This project includes GitHub Actions workflows for:
Running tests on multiple Python versions
Building and testing Docker images
Automated deployment (when configured)
Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests for new functionality
Run the test suite
Create a pull request
License
MIT License
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/elliotnorrevik/ddg-mcp4'
If you have feedback or need assistance with the MCP directory API, please join our Discord server