MCP Lab
@rperezll
关于 MCP Lab
Laboratorio personal con MCP en TypeScript: MCP Server, MCP Client, Claude Desktop y OpenAI API
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Lab?
MCP Lab is a personal experimentation repository for learning and testing the Model Context Protocol (MCP) using the TypeScript SDK. It contains multiple sub-projects: a basic MCP server (mcp-server-dummies), a Text-to-SQL server for SQLite (mcp-lab-text2sql), and a client that integrates MCP with OpenAI’s Responses API.
How to use MCP Lab?
Each sub‑project is installed and run separately. Navigate to a project (e.g. mcp-server-dummies) and run npm i, then npm run build (compiles with tsc) and npm run dev (runs with ts-node). Debug with npm run test which launches the MCP Inspector at http://localhost:6274. Servers can be added to Claude Desktop via claude_desktop_config.json under AppData/Roaming/Claude on Windows.
Key features of MCP Lab
- Basic MCP server for learning and quick testing.
- Text‑to‑SQL server letting you chat with SQLite databases in natural language.
- MCP client that bridges MCP tools with OpenAI’s Responses API.
- Supports debugging via the MCP Inspector visual interface.
- All projects require Node.js >= v20.
- Licensed under MIT.
Use cases of MCP Lab
- Experimenting with the MCP SDK and understanding protocol mechanics.
- Building and testing a Text‑to‑SQL assistant over a local SQLite database.
- Connecting MCP servers to an OpenAI‑powered agent (via the provided client).
- Prototyping and debugging MCP tools before production deployment.
FAQ from MCP Lab
What runtime does MCP Lab require?
All projects need Node.js version 20 or higher.
How can I debug an MCP server in this lab?
Run npm run test inside a server project – this launches the MCP Inspector at http://localhost:6274 for interactive testing.
Can I use these MCP servers with Claude Desktop?
Yes. Edit claude_desktop_config.json (located in AppData/Roaming/Claude on Windows) and add entries with the node command pointing to the compiled dist/index.js of each server. Remember to run npm run build first.
Are these MCP servers directly compatible with OpenAI?
No. MCP tool schemas differ from OpenAI’s function‑calling format. MCP Lab includes a client project (mcp-client) that transforms tools for use with the OpenAI Responses API. When defining tool arguments with Zod, OpenAI requires all params be required, forbids min/max on integers, and disallows default values.
What data does the Text‑to‑SQL server work with?
The mcp-lab-text2sql server interacts with a SQLite database, but the README does not specify which database or its location; the server is designed to chat with your own SQLite data.
AI 与智能体 分类下的更多 MCP 服务器
Shell and Coding agent for Claude and other mcp clients
rusiaamanShell and coding agent on mcp clients
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
🛡️ A.I.G(AI-Infra-Guard)
TencentA full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
Open Multi-Agent Canvas
CopilotKitThe open-source multi-agent chat interface that lets you manage multiple agents in one dynamic conversation and add MCP servers for deep research
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
评论