MCP cover image
See in Github
2025-04-07

构建我的第一个模型上下文协议服务器

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

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • modelcontextprotocol
  • 模型上下文协议服务器

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • n8n-io
  • 具有本机AI功能的公平代码工作流程自动化平台。将视觉构建与自定义代码,自宿主或云相结合,400+集成。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • open-webui
  • 用户友好的AI接口(支持Ollama,OpenAi API,...)

  • metorial
  • 数百个MCP服务器的容器化版本📡📡

    Reviews

    2 (1)
    Avatar
    user_VcPfdZo3
    2025-04-17

    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.