loading…
Search for a command to run...
loading…
Enables AI agents and LLMs to interact with the Test MCP Mar19 TRAIA API through standardized tools and the Model Context Protocol. It provides seamless API acc
Enables AI agents and LLMs to interact with the Test MCP Mar19 TRAIA API through standardized tools and the Model Context Protocol. It provides seamless API access for automated workflows with support for Docker deployment and asynchronous operations.
This is an MCP (Model Context Protocol) server that provides access to the Test MCP Mar19 TRAIA API. It enables AI agents and LLMs to interact with Test MCP Mar19 TRAIA through standardized tools.
This server provides the following tools:
example_tool: Placeholder tool (to be implemented)Note: Replace example_tool with actual Test MCP Mar19 TRAIA API tools based on the documentation.
Clone this repository:
git clone https://github.com/Traia-IO/test-mcp-mar19-traia-mcp-server.git
cd test-mcp-mar19-traia-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/test-mcp-mar19-traia-mcp-server",
"mcp_server": {
"name": "test-mcp-mar19-traia-mcp",
"description": "Test mcp mar19",
"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": ["test mcp mar19 traia", "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": {
"test-mcp-mar19-traia-mcp-server": {
"command": "npx",
"args": []
}
}
}