OM

oopsyz/mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

3 stars 2 forks 品質 68 トレンド 4MIT

oopsyz/mcp は [https://github.com/oopsyz/mcp. からインポートされた MCP サーバーの候補です

概要

oopsyz/mcp は [https://github.com/oopsyz/mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

このリポジトリは、TMF620 コマンドレイヤーを 2 つのインターフェイスで公開します。

  • 進歩的な発見のためのコンパクトなHTTP CLI API
  • ベンチマーキングおよびテストのための参照表面としてここに使用されるMCPサーバー

ドキュメントのインデックス: docs/README.md

エンジン固有のoa-engine CLI-over-HTTP制御プレーンプロファイル リポジトリは[oa_engineに維持されます。このリポジトリはジェネリックを所有しています。 CLI スタイルの HTTP プロトコル。

リポジトリレイアウト:

  • [tmf620/ - TMF620モックAPI、共有クライアント、コマンド、サーバー、ベンチマーク
  • [tests/ - pytest-discoverableラッパーとスタンドアローン適合、API、およびエッジケーススクリプト
  • [[docs/] - ロングフォームプロトコルドキュメントとガイド
  • [benchmarks/ - ベンチマークスクリプトとベースラインデータ
  • [[scripts/] - エントリポイントスクリプトを再確認する
  • [specs/ - ソースOpenAPIとプロトコルの仕様
  • [tmf620/config/ - TMF620ランタイム設定ファイル
  • [DOMAIN.md / [AGENTS.md] - リポレベルの契約とエージェントの指示
  • [tmf620/config/config.json - 正規のランタイムデータと構成

TMF620 サンプル実装はサービスローカルフォルダに保存され、他のシステムとは独立してデプロイできます.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

TMF620 CLI vs MCP

This repo exposes the TMF620 command layer through two interfaces:

  • a compact HTTP CLI API for progressive discovery
  • an MCP server used here as a reference surface for benchmarking and testing

Documentation index: docs/README.md

The engine-specific oa-engine CLI-over-HTTP control-plane profile is maintained in the oa_engine repository; this repository owns the generic CLI-style HTTP protocol.

Repository layout:

  • tmf620/ - TMF620 mock API, shared client, commands, server, and benchmark
  • tests/ - pytest-discoverable wrappers plus standalone conformance, API, and edge-case scripts
  • docs/ - long-form protocol docs and guides
  • benchmarks/ - benchmark scripts and baseline data
  • scripts/ - repo entrypoint scripts
  • specs/ - source OpenAPI and protocol specs
  • tmf620/config/ - TMF620 runtime configuration files
  • DOMAIN.md / AGENTS.md - repo-level contracts and agent instructions
  • tmf620/config/config.json - canonical runtime data and configuration

The TMF620 sample implementation is kept in a service-local folder so it can be deployed independently of other systems.

The CLI API is the cheaper discovery path for agents that only need one command branch at a time. The MCP server is retained here as a comparison point for discovery payloads, tool-list size, and latency measurements.

The practical reasons to keep both are:

  • compact discovery: agents can start with GET /cli/tmf620/catalogmgt instead of ingesting the full MCP tool list up front
  • progressive help: agents can expand one command branch at a time with help
  • stronger MCP contracts: MCP tools now expose explicit schemas instead of a generic args object
  • simpler automation: curl works well for both humans and agents, especially when the command surface is already structured
  • one shared command layer: the same command definitions back the HTTP CLI API, the MCP reference surface, and the benchmark

TMF620 Product Catalog Management with three layers:

  • a mock TMF620 API
  • a shared Python client
  • two adapters over that client: HTTP CLI API and MCP

This keeps the operational logic in one place while supporting HTTP and MCP adapters over the same TMF620 command set.

Request paths:

  • HTTP CLI API -> tmf620/server.py -> tmf620/commands.py -> tmf620/core.py -> TMF620 API
  • MCP client -> tmf620/server.py -> tmf620/core.py -> TMF620 API

Components

1. Mock TMF620 API

File: tmf620/mock_api.py

  • FastAPI-based TMF620 mock server
  • sample catalogs, offerings, and specifications
  • Swagger docs

2. Shared TMF620 Client

File: tmf620/core.py

  • config loading
  • HTTP request handling
  • health checks
  • generic CRUD helpers for TMF620 resources
  • catalog, category, offering, price, specification, import/export job, and hub operations

3. Shared Command Layer

File: tmf620/commands.py

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "tmf620-mcp": { "command": "uv", "args": ["run", "tmf620-mcp-server"], "cwd": "/path/to/tmf620-mcp-server" } } }