
Smithery-openapi-server
Openapi Server para Registro Smithery, proporcionando acceso a los servidores MCP
1
Github Watches
0
Github Forks
0
Github Stars
Smithery Registry OpenAPI Server
This server provides an OpenAPI interface to the Smithery Registry API, allowing you to search and obtain launch configurations for Model Context Protocol (MCP) servers.
Features
- List available MCP servers with advanced filtering
- Get detailed server information including connection configurations
- Generate WebSocket URLs with base64-encoded configurations
- Authentication via bearer token
- Compatible with OpenAPI tools and clients
Authentication
All requests to the Smithery Registry API require authentication:
- You need a bearer token in the
Authorization
header - Format:
Authorization: Bearer your-api-token
- Obtain a token from your Smithery user profile under API keys
Usage
Installation
pip install -r requirements.txt
Running the server
uvicorn main:app --host 0.0.0.0 --port 8000 --reload
API Endpoints
-
GET /servers
- List available MCP servers- Query parameters:
-
q
: Search query (semantic search) -
page
: Page number (default: 1) -
pageSize
: Items per page (default: 10)
-
- Advanced filtering syntax in the
q
parameter:- Text search: "machine learning"
- Owner filter: owner:username
- Repository filter: repo:repository-name
- Deployment status: is:deployed
- Example: "owner:smithery-ai repo:fetch is:deployed machine learning"
- Query parameters:
-
GET /servers/{qualified_name}
- Get detailed information about a specific server -
POST /create-websocket-url
- Create a WebSocket URL with encoded config- Request body:
{ "qualifiedName": "username/repository", "config": { // Configuration object matching the server's schema } }
- Request body:
WebSocket Connection
For direct WebSocket connections to MCP servers:
- URL Format:
https://server.smithery.ai/${qualifiedName}/ws?config=${base64encode(config)}
- Config must comply with the server's configSchema
- Config is base64-encoded JSON
Integration with OpenAPI Tools
This server is designed to be compatible with any OpenAPI-compliant tools and frameworks. The API follows RESTful conventions and provides detailed OpenAPI documentation at the /docs
endpoint when running.
TypeScript SDK Usage
For use with the Smithery TypeScript SDK:
import { WebSocketClientTransport } from "@modelcontextprotocol/sdk/client/websocket.js"
import { createSmitheryUrl } from "@smithery/sdk/config.js"
const url = createSmitheryUrl(
"https://your-smithery-mcp-server/ws",
{
// config object matching schema
},
)
const transport = new WebSocketClientTransport(url)
License
MIT
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
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.
Advanced software engineer GPT that excels through nailing the basics.
Converts Figma frames into front-end code for various mobile frameworks.
Take an adjectivised noun, and create images making it progressively more adjective!
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Reviews

user_0VVM1Bk5
As a devoted MCP application user, I've found smithery-openapi-server, created by chinpeerapat, to be an outstanding tool for effortlessly generating and managing OpenAPI specifications. Its seamless integration, user-friendly interface, and robust functionality make it a must-have for developers looking to streamline their API development process. Highly recommended!