
IOG-MCP-Server
构建我的第一个模型上下文协议服务器
1
Github Watches
0
Github Forks
0
Github Stars
IOG Model Context Protocol (MCP) Server
A standalone implementation of the IOG Model Context Protocol (MCP) server that can be integrated with systems like Windsurf.
Features
- Tool Registry: Includes calculator and search functionality
- Data Retrieval: Tools for accessing personas and products data
- Standard MCP Endpoints: For tool discovery and execution
- JSON Schema Definitions: For all tools and parameters
- Windsurf Integration: Example code for connecting to Windsurf
Installation
# Clone the repository or copy these files to your project
# Install dependencies
npm install
Usage
Starting the MCP Server
npm start
# or
node iog_mcp_server.js
The server will run on http://localhost:3001 by default.
Available Endpoints
- GET /mcp/tools: Returns a list of available tools and their definitions
- POST /mcp/execute: Executes a tool with the provided parameters
Integrating with Windsurf
The windsurf_integration.js
file provides a complete example of how to integrate this MCP server with Windsurf:
const WindsurfMCPIntegration = require('./windsurf_integration');
async function main() {
const integration = new WindsurfMCPIntegration();
await integration.initialize();
await integration.registerWithWindsurf();
// Now you can use the tools through Windsurf
}
main();
Data Sources
To use the data retrieval tools, you need to provide data files:
-
personas.json
: Information about IOG personas -
products.json
: Basic information about IOG products -
IOG Products/
: Directory containing detailed Markdown files for products
Customizing
You can extend the tool registry in iog_mcp_server.js
by adding new tools to the tools
object.
License
MIT
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Reviews

user_VcPfdZo3
I've been using the IOG-MCP-server by ianpilon for several weeks now and am thoroughly impressed. Its seamless integration and robust performance have significantly improved my workflow. The documentation is clear, making setup straightforward. Highly recommend for any MCP application enthusiasts! Check it out here: https://github.com/ianpilon/IOG-MCP-server.