O
Openstellar MCP Adapter
作者 @Chewji9875
MCP server by Chewji9875
创建于 5/28/2026
更新于 about 19 hours ago
README
Repository documentation and setup instructions
OpenStellar MCP Adapter
OpenCode plugin that improves MCP compatibility with Gemini.
What It Solves
- Gemini compatibility - Normalizes MCP tool schemas to meet Google Gemini's standard requirements
- Tool hook compatibility - Converts MCP tools to plugin tools, enabling
tool.definitionhook interception (required for opencode-tool-search and similar plugins that defer tool loading)
Installation
npm install -g @openstellar/mcp-adapter
Add to opencode.jsonc:
{
"plugin": [
[
"@openstellar/mcp-adapter@latest",
{
"mcp": {
"example-remote": {
"type": "remote",
"url": "https://mcp.example.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
},
"example-local": {
"type": "local",
"command": ["npx", "-y", "mcp-server-package"]
}
}
}
]
]
}
Config
Remote server:
{
"type": "remote",
"url": "https://mcp.example.com/mcp",
"headers": { "Authorization": "Bearer ..." },
"timeout": 30000 // optional
}
Local server:
{
"type": "local",
"command": ["npx", "-y", "package-name"],
"env": { "API_KEY": "..." }, // optional
"timeout": 180000 // optional, default 180s
}
Debug
export OPENSTELLAR_MCP_DEBUG=true
Logs to /tmp/openstellar-mcp-adapter.log
License
MIT © 2026 OpenStellar
快速设置
此服务器的安装指南
安装包 (如果需要)
npx @modelcontextprotocol/server-openstellar-mcp-adapter
Cursor 配置 (mcp.json)
{
"mcpServers": {
"chewji9875-openstellar-mcp-adapter": {
"command": "npx",
"args": [
"chewji9875-openstellar-mcp-adapter"
]
}
}
}