Skip to main content
Glama

mcp-personal · 個人用 MCP サーバー

Python(FastMCP)で構築した個人用 MCP サーバー。Cursor / VS Code / DeepSeek Harness など、任意の MCP クライアントに接続できます。

完全な計画は PLAN.md をご覧ください · 展示素材は docs/展示指南.md をご覧ください · 現在の進捗:四大シナリオ + HTTP + 認証 + pdf_extract ✅ · 21 個のテストが通過 · 環境変数は .env.example をご覧ください

クイックスタート

# 1. 创建虚拟环境并安装(需 Python 3.11+ 或 uv)
uv venv
uv pip install -e ".[dev]"

# 2. 跑测试
uv run pytest tests -q

# 3. 启动服务器(stdio,供客户端接入)
uv run python -m mcp_personal

# 4. 冒烟测试:真实 stdio 子进程链路
uv run python scripts/smoke_stdio.py

# 5. 查看服务器注册的能力清单(Tools/Prompts/Resources)
uv run python scripts/verify_capabilities.py

# 6. 调试:官方 MCP Inspector
uv run mcp dev src/mcp_personal/server.py

Related MCP server: DDG MCP Server

クライアントへの接続

設定は既にプリセットされています(portable 書き方:uv run --project . が環境を自動的に特定し、リポジトリは任意に移動できます):

クライアント

設定ファイル

Cursor

.cursor/mcp.json(設定 → MCP → ローカルサーバーを追加)

VS Code

.vscode/mcp.json("MCP" 拡張機能 / Copilot Chat のインストールが必要)

その他

標準 stdio 設定:command + args 上記と同じ

接続後、まず AI に ping ツールを呼び出させて、リンクを検証してください。

HTTP リモート接続(オプション)

# 终端 1:启动 HTTP 服务(默认 127.0.0.1:8000,--host 0.0.0.0 可局域网访问)
uv run python scripts/run_http.py --port 8000

# 终端 2:用官方客户端验证链路
uv run python scripts/client_http_check.py --url http://127.0.0.1:8000/mcp

他のリモートクライアントは、MCP サーバーアドレスを http://<host>:<port>/mcp に設定するだけです。

HTTP 認証(オプション)

環境変数を設定して起動すると、すべてのリクエストに Authorization: Bearer <token> を付ける必要があります:

# 终端 1:带鉴权启动
MCP_API_TOKEN=my-secret uv run python scripts/run_http.py --port 8000

# 终端 2:带 token 验证
uv run python scripts/client_http_check.py --url http://127.0.0.1:8000/mcp --token my-secret

説明:FastMCP 公式の StaticTokenVerifier(API キー形式)に基づき、token は平文で保存されます。個人/開発用途にのみ適しており、本番では OAuth/JWT に切り替えるべきです。

ディレクトリ構成

├── PLAN.md            # 项目规划书
├── pyproject.toml     # 依赖与打包
├── src/mcp_personal/  # 服务器代码
│   ├── server.py      # FastMCP 入口(注册全部原语)
│   ├── tools/         # Tool:paper(检索)/dataset(摸底)/scaffold(课设)/devtools(目录树)
│   ├── prompts.py     # Prompt:literature_review 文献综述框架
│   └── resources.py   # Resource:papers://list 本地论文库
├── papers/            # 本地论文库(放 PDF)
├── datasets/          # 竞赛数据集(dataset_info 工具使用)
├── tests/             # pytest 测试(13 个)
├── .github/workflows/ # CI:push/PR 自动跑测试
├── scripts/           # smoke_stdio.py / verify_capabilities.py
├── .cursor/ .vscode/  # 客户端接入配置
└── README.md
A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • -
    license
    -
    quality
    -
    maintenance
    A basic MCP server built with FastMCP framework that provides example tools including message echoing and server information retrieval. Supports both stdio and HTTP transports with Docker deployment capabilities.
  • -
    license
    -
    quality
    -
    maintenance
    A basic MCP server built with FastMCP framework that provides example tools including message echoing and server information retrieval. Supports both stdio and HTTP transports for integration with various MCP clients.
  • F
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol server built with FastMCP that features dynamic tool loading and modular management via a dedicated tool directory. It supports both stdio and HTTP transport modes, enabling efficient development and deployment of custom MCP tools.
  • A
    license
    -
    quality
    B
    maintenance
    A high-performance personal Model Context Protocol (MCP) server built with the FastMCP Python framework.
    MIT

View all related MCP servers

Related MCP Connectors

  • A MCP server built for developers enabling Git based project management with project and personal…

  • MCP server for accessing curated awesome list documentation

  • An MCP server that gives your AI access to the source code and docs of all public github repos

View all MCP Connectors

Latest Blog Posts

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/xyser-craner/-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server