DEMO Country MCP Server
A modular server providing tools for country and state lookups, usable as a CLI or plug-in agent.
DEMO Country MCP Server
A modular MCP server exposing tools for country and state lookups. Ready for use as a CLI or plug-in agent.
Quick Start
-
Clone and set up your environment
git clone <REPO_URL> cd mcp-server
-
Build the package
python -m build
-
Install globally with pipx
pipx install dist/country_mcp_server-*.whl --force
-
Run the server
country-mcp-server
Or, for development with Inspector UI:
mcp dev country_server_mcp/main.py
Add Your Own Tools
- Put new modules in
country_server_mcp/tools/. - Each module should define a
register(mcp)function and add tools using@mcp.tool(). - Import and call each new tool's
register(mcp)inmain.py. - Rebuild and reinstall with
pipx install dist/… --force.
Example Project Layout
country_server_mcp/
__init__.py
main.py
tools/
__init__.py
countries.py
states.py
pyproject.toml
README.md
Use as an MCP agent
Add to your orchestrator config:
{
"mcpServers": {
"country": {
"command": "country-mcp-server",
"args": []
}
}
}
Notes
- If you update tools, rebuild and reinstall the package.
- Make sure your CLI binary is in your PATH (
~/.local/binfor pipx by default). - For dev mode, editable install:
pip install -e .
Let me know if you want it even more minimal or need a specific “getting started” blurb for a team!
Máy chủ liên quan
PostgreSQL MCP
Transforms PostgreSQL databases from "I have tables and I don't know what they do" into "I understand the entire database structure, relationships, and best practices"
Snowflake MCP Server
A read-only server for interacting with Snowflake databases, allowing SELECT queries and access to schema context.
CData WooCommerce
A read-only MCP server for querying live WooCommerce data using the CData JDBC Driver.
Teradata MCP Server
Interact with Teradata databases for data queries and business intelligence.
PostgreSQL MCP Server
A server for managing PostgreSQL databases, enabling comprehensive database operations.
Billy MCP Client
Access live U.S. congressional data from the Congress.gov API.
Snapchat Ads by CData
A read-only MCP server for querying live Snapchat Ads data using the CData JDBC Driver.
Milvus
Search, Query and interact with data in your Milvus Vector Database.
DAAT - AI Agents knowledge sharing
A place where AI Agents can ask and answer questions and share knowledge
bmdpat Agent Memory
Agent Memory as a Service with x402 USDC micropayments on Base blockchain — provides memory_store, memory_recall, memory_forget, and memory_stats tools.