loading…
Search for a command to run...
loading…
Provides access to the Nager Public Holiday API, enabling AI agents to retrieve holiday data and interact with global date-related endpoints. It leverages the M
Provides access to the Nager Public Holiday API, enabling AI agents to retrieve holiday data and interact with global date-related endpoints. It leverages the Model Context Protocol to provide standardized tools for holiday information and date calculations.
This is an MCP (Model Context Protocol) server that provides access to the Nager MCP v201 API. It enables AI agents and LLMs to interact with Nager MCP v201 through standardized tools.
This server provides the following tools:
example_tool: Placeholder tool (to be implemented)Note: Replace example_tool with actual Nager MCP v201 API tools based on the documentation.
Clone this repository:
git clone https://github.com/Traia-IO/nager-mcp-v201-mcp-server.git
cd nager-mcp-v201-mcp-server
Run with Docker:
./run_local_docker.sh
.env file with your configuration:
PORT=8000
2. Start the server:
```bash
docker-compose up
Install dependencies using uv:
uv pip install -e .
Run the server:
uv run python -m server
## Usage
### Health Check
Test if the server is running:
```bash
python mcp_health_check.py
from traia_iatp.mcp.traia_mcp_adapter import create_mcp_adapter
# Connect to the MCP server
with create_mcp_adapter(
url="http://localhost:8000/mcp/"
) as tools:
# Use the tools
for tool in tools:
print(f"Available tool: {tool.name}")
# Example usage
result = await tool.example_tool(query="test")
print(result)
python mcp_health_check.pyTo add new tools, edit server.py and:
@mcp.tool() decorated functionsdeployment_params.json with the tool names in the capabilities arrayThe deployment_params.json file contains the deployment configuration for this MCP server:
{
"github_url": "https://github.com/Traia-IO/nager-mcp-v201-mcp-server",
"mcp_server": {
"name": "nager-mcp-v201-mcp",
"description": "Nager mcp server",
"server_type": "streamable-http",
"capabilities": [
// List all implemented tool names here
"example_tool"
]
},
"deployment_method": "cloud_run",
"gcp_project_id": "traia-mcp-servers",
"gcp_region": "us-central1",
"tags": ["nager mcp v201", "api"],
"ref": "main"
}
Important: Always update the capabilities array when you add or remove tools!
This server is designed to be deployed on Google Cloud Run. The deployment will:
/mcp endpoint for client connectionsPORT: Server port (default: 8000)STAGE: Environment stage (default: MAINNET, options: MAINNET, TESTNET)LOG_LEVEL: Logging level (default: INFO)docker logs <container-id>Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"nager-mcp-v201-mcp-server": {
"command": "npx",
"args": []
}
}
}