- Home
- MCP servers
- APOD
APOD
- python
0
GitHub Stars
python
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"ethan2000liu-apod": {
"command": "python",
"args": [
"mcp_server/main.py",
"stdio"
],
"env": {
"CONFIG": "{...}",
"SECURITY": "YOUR_API_KEYS",
"CONFIG_PATH": "mcp_server/mcp_config.json"
}
}
}
}You run an MCP (Multi-Agent Conversation Protocol) server locally to enable automated, coordinated conversations with an external API or data source. This server uses a predefined OpenAPI source to expose consistent MCP endpoints and transports, making it easy to test, develop, and integrate with MCP clients while keeping security and configuration in a centralized place.
How to use
Start the MCP server in stdio mode to run it as a local process that communicates with your client via standard input and output. This setup is ideal for development and testing, allowing you to connect your MCP client directly to the server without networking overhead.
How to install
Prerequisites: you need Python 3.9 or later and the Python package manager (pip) installed on your system. You may also use uv to manage isolated environments and run commands.
Clone the MCP server project and prepare the environment.
# Clone the project repository
git clone <repository-url>
cd mcp_server
# Install development dependencies
pip install -e ".[dev]"
# Or, if you prefer using uv to manage editable installs
uv pip install --editable ".[dev]"
Configuration and security
Configure the MCP server using environment variables or a JSON configuration file. The following variables control core behavior and security settings.
{
"CONFIG_PATH": "mcp_server/mcp_config.json",
"CONFIG": "{...}",
"SECURITY": "API_KEYS_OR_OTHER_SECRETS"
}
Additional notes
The server supports multiple transport modes, including stdio for local testing, as well as other transport options described in the runtime. Use the stdio mode for straightforward development workflows and to simplify client integration during early testing.
Available tools
ruff
Linting and formatting tool for Python code to ensure style and quality
mypy
Static type checker to catch type errors during development
pytest
Test runner to execute unit and integration tests
pre-commit
Framework for running checks before committing changes
hatch
Build and publish tool used to build the project