- Home
- MCP servers
- MCP Server Example
MCP Server Example
- 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": {
"parameshwaran1-mcpserverexample": {
"command": "uvx",
"args": [
"--from",
"https://github.com/parameshwaran1/mcpserverexample.git",
"mcp-server"
]
}
}
}You can deploy and run a Deployable MCP Server that exposes simple, reusable tools you can call from any MCP client. This server makes it easy to add new tools or extend existing ones, so you can perform quick computations and build more capabilities into your workflow.
How to use
You interact with the Deployable MCP Server from your MCP client by calling the available tools through the MCP connection. Once the server is running, you can request the simple tools it exposes, such as adding two integers, and receive the result back in your client application. Use the server to chain multiple tool calls, compose new workflows, and quickly test new functions you define.
How to install
Prerequisites you need before installing this MCP server are Python 3.8 or newer and the package tools uv and uvx.
Install the required tooling with these commands:
pip install uv
pip install uvx
Run the Deployable MCP Server
Start the server using the provided deployment command. This launches the Deployable MCP Server and exposes its tools for use by MCP clients.
uvx --from https://github.com/parameshwaran1/mcpserverexample.git mcp-server
Available tools
add_integers
Adds two integers and returns the result.
extend_tools
Allows adding more tools by defining new functions with docstrings.