MCP.so
登录

MCP テストサーバー

@watamoo

基本信息

分类

开发工具

最近更新

传输方式

stdio

作者

watamoo

关于 MCP テストサーバー

暂无概览

MCP テストサーバー 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-test-server-watamoo": {
      "command": "uv",
      "args": [
        "init",
        "mcp-test-server"
      ]
    }
  }
}

MCP テストサーバー 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP テストサーバー?

MCP テストサーバー is a Python server that implements the Model Context Protocol (MCP) to provide a Retrieval Augmented Generation (RAG) system using OpenAI's vector store.

How to use MCP テストサーバー?

Initialize the project with uv init, create a virtual environment, install dependencies with uv sync, and set the OPENAI_API_KEY environment variable in a .env file. The server exposes two tools: create_vector_db_from_directory and query_vector_db. It can be integrated with the Claude desktop app by adding a configuration entry pointing to the server's directory and the command uv run server.py.

Key features of MCP テストサーバー

  • Creates a vector store from a local directory of files.
  • Supports .txt, .pdf, .docx, and .md file formats.
  • Queries the vector store to retrieve relevant information.
  • Provides two MCP tools: creation and search.

Use cases of MCP テストサーバー

  • Building a searchable knowledge base from project documentation.
  • Enabling a chatbot to answer questions based on local documents.
  • Creating a RAG pipeline with OpenAI’s vector store for fast retrieval.

常见问题

1

What does the server do?

It builds a vector store from files in a specified directory using OpenAI’s API and allows you to query that store for relevant content.

2

What are the runtime requirements?

Python 3.11 or higher and an OpenAI API key are required.

3

Does the server send my data to OpenAI?

Yes, the server uses the OpenAI vector store API, so file content is sent to OpenAI during vector store creation.

4

How can I test the server locally?

You can use the MCP Inspector by running `npx @modelcontextprotocol/inspector uv run server.py` and interact with the tools through its web interface.

5

How do I integrate this server with Claude?

Add a JSON entry in Claude desktop app’s config file with the server name, the `uv` command, and the absolute path to the project directory containing `server.py`.

评论

开发工具 分类下的更多 MCP 服务器