- Home
- MCP servers
- Resend
Resend
- 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": {
"huazhengwang-resend": {
"command": "python",
"args": [
"mcp_server/main.py",
"stdio"
],
"env": {
"CONFIG": "{\"transport\":\"stdio\"}",
"SECURITY": "API_KEY=YOUR_API_KEY",
"CONFIG_PATH": "/path/to/mcp_config.json"
}
}
}
}You can run an MCP server that exposes a configurable interface to interact with the OpenAPI spec, using flexible transport modes to fit your workflow. This server helps you communicate with the API through standardized MCP clients and tooling.
How to use
Start the MCP server in stdio mode to enable local, file-based interactions with your client tooling. You can connect via an MCP client that speaks the protocol and pass configuration through environment variables or a JSON config. The server works with the OpenAPI-based integration and supports multiple transport modes to suit scripting, testing, or interactive sessions.
How to install
Prerequisites include Python 3.9 or newer, plus pip and uv (optional) for running the server more directly.
Clone the repository and navigate into the project folder.
Install development dependencies with the editable install.
pip install -e ".[dev]"
Alternatively, you can use uv to install in editable mode.
uv pip install --editable ".[dev]"
Running the server
The MCP server runs via a stdio-based command. Use the following start command to launch the server locally.
python mcp_server/main.py stdio
Configuration and environment variables
Configure the server using environment variables or a JSON configuration file. The supported environment variables include paths and security settings.
CONFIG_PATH=/path/to/mcp_config.json
CONFIG='{"transport":"stdio"}'
SECURITY=API_KEY=YOUR_API_KEY
Available tools
ruff
Lints and formats the codebase to ensure consistent styling and catch issues early.
mypy
Performs static type checking to catch type errors before runtime.
pytest
Runs unit and integration tests to verify behavior and prevent regressions.
pre-commit
Enforces code quality checks before each commit via hooks.
hatch
Used for building and publishing the MCP server package.