NEI MCP Server
nei-mcp-server
fastmcp をベースにしたツールサーバーで、NEIプラットフォームと連携し、NEIプロジェクトリソースをクエリする機能を提供します。
コア機能
本プロジェクトは、NEIプラットフォームの一般的な機能を一連のMCPツールとしてカプセル化し、迅速なクエリと統合を可能にします。サポートされているツールは以下の通りです:
sync_nei_project: リモートのNEIプラットフォームから最新のプロジェクトデータを強制的に同期し、ローカルキャッシュを更新します。ローカルデータが最新ではないと疑われる場合や、最近変更されたバックエンドインターフェースやデータモデル情報を取得する必要がある場合に、まずこのツールを呼び出してください。search_interfaces_by_uri: インターフェース定義のURI(インターフェースパス)に基づいて、NEIプロジェクト内のインターフェースリソースを曖昧検索します。search_interfaces_by_url: NEIインターフェース詳細リンク内のpidおよびidに基づいて、インターフェースリソースを正確に検索します(例:http://nei.example.com/interface/detail/?pid=10135&id=13015)。search_interfaces_by_name: インターフェース名に基づいて、NEIプロジェクト内のインターフェースリソースを曖昧検索します。search_groups_by_name: グループ名に基づいて、NEIプロジェクト内のビジネスグループを検索します。
Related MCP server: Nexus MCP Server
環境準備
インストールと設定
プロジェクトのクローン
git clone https://github.com/leila-huang/nei-mcp-server.git cd nei-mcp-server依存関係のインストール npmを使用する場合:
npm installまたはpnpmを使用する場合:
pnpm install
デバッグツール
inspectデバッグ
fastmcpのinspectコマンドを使用すると、ローカルで対話的にすべてのツールをテストできます。Webページ上でSERVER_URLとPROJECT_IDを設定する必要があります。npm run inspectこのコマンドは対話型インターフェースを提供し、実行するツールを選択してパラメータを入力できるため、デバッグや探索に最適です。
mcpクライアントデバッグ
{ "mcpServers": { "nei-mcp-server": { "command": "npx", "args": ["tsx", "/PATH/TO/YOUR_PROJECT/src/index.ts"], "env": { "SERVER_URL": "xxx", "PROJECT_ID": "xxx" } } } }
mcp使用ガイド
```bash
{
"mcpServers": {
"nei-mcp-server": {
"command": "npx",
"args": [
"-y",
"@leila329/nei-mcp-server"
],
"env": {
"SERVER_URL": "xxx",
"PROJECT_ID": "xxx"
}
}
}
}
```キャッシュメカニズム
パフォーマンスを向上させ、NEIサーバーへのリクエスト負荷を軽減するために、本プロジェクトではシンプルなキャッシュ戦略を実装しています:
メモリキャッシュ: データは初回読み込み後にメモリに保存されます。サービスの実行中、同じリクエストはメモリから直接返されるため、重複したネットワークリクエストを回避できます。サービスを再起動すると、メモリキャッシュはクリアされます。
ネットワーク同期: サービス起動時、または
sync_nei_projectツールを手動で呼び出した際に、NEIリモートサーバーから最新のプロジェクトデータを取得し、メモリキャッシュを更新します。
sync_nei_project ツールを呼び出すことで、手動でネットワーク同期を強制的にトリガーし、データが最新バージョンであることを確認できます。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceEnables AI assistants to access and search RAP2 API documentation, allowing users to query interface details, search APIs by keywords, and retrieve repository interfaces through natural language.77
- FlicenseBqualityNot gradedmaintenanceEnables AI assistants to interact with Nexus projects, allowing management of projects, bugs, milestones, concepts, and templates through natural language commands.20
- AlicenseNot gradedqualityDmaintenanceEnables interaction with YApi API management platform through natural language, allowing automated interface management including creating/updating APIs, managing categories, importing data, and retrieving project information.259GPL 3.0
- AlicenseCqualityCmaintenanceProvides tools for AI assistants to list, search, and get details of YApi interfaces.612ISC
Related MCP Connectors
Discover, search, invoke, and rate A2A (Agent-to-Agent) protocol agents.
Connect to Atlassian Jira, Confluence, and Compass to search, create, and manage your work.
Search and browse every MCP server in the Model Context Protocol registry.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/leila-huang/nei-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server