Ericvf/VanillaMcp
3.1
If you are the rightful owner of VanillaMcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
VanillaMcp is a simple dependency-free JSON-RPC server example for handling MCP tool calls.
VanillaMcp
VanillaMcp is a simple dependency-free JSON-RPC server example for handling MCP tool calls.
Features
- JSON-RPC API: Communicate with the server using standard JSON-RPC requests.
- Extensible Tooling: Easily add new tools to the API.
API Endpoints
POST /mcp: Main endpoint for all JSON-RPC requests.
Supported Methods
initialize: Initialize the protocol and get server capabilities.tools/list: List available tools and their input schemas.tools/call: Call a tool by name with parameters.
Getting Started
- Build and Run:
dotnet build dotnet run
- Send Requests: Use any HTTP client to POST JSON-RPC requests to
/mcp. - Example mcpservers.json to configure in LMStudio:
{
"mcpServers": {
"VanillaMCP": {
"url": "http://localhost:1234/mcp"
}
}
}
License
This project is licensed under the GNU General Public License v3.0. See the file for details.