Skip to main content

ynosis-agent

Ynosis Agent API 用の 公開クライアント(CLI / Python MCP)。

リポジトリは非公開です。ソース clone は不要です。

CLI

pip install ynosis-agent
export YNOSIS_AGENT_API_KEY='yna_...'   # マイページ → … → Agent API で発行
ynosis-agent search --q 草津 --limit 5
ynosis-agent parse-prompt transcript.txt --out prompt.json
ynosis-agent parse transcript.txt --llm-json llm_result.json --for-register
ynosis-agent register payload.json --image photo.jpg

接続先の既定は https://ynosis.jp(リダイレクトを追います)。

MCP

アプリに設定を貼るだけ。詳細・トラブルシュートは https://ynosis.jp/notes/usage-037。

Cursor など Node がある場合(推奨): npm の別パッケージ。

npx -y ynosis-agent-mcp
{
  "mcpServers": {
    "ynosis-agent": {
      "command": "npx",
      "args": ["-y", "ynosis-agent-mcp"],
      "env": {
        "YNOSIS_AGENT_API_KEY": "yna_REPLACE_ME",
        "YNOSIS_AGENT_API_BASE": "https://ynosis.jp"
      }
    }
  }
}

Python / uv がある場合: このパッケージの extra。uv(uvx)は別途インストールが必要です。ターミナルで which uvx が通らないと、Cursor からも起動しません。

uvx --from ynosis-agent[mcp] ynosis-agent-mcp
{
  "mcpServers": {
    "ynosis-agent": {
      "command": "uvx",
      "args": ["--from", "ynosis-agent[mcp]", "ynosis-agent-mcp"],
      "env": {
        "YNOSIS_AGENT_API_KEY": "yna_REPLACE_ME",
        "YNOSIS_AGENT_API_BASE": "https://ynosis.jp"
      }
    }
  }
}

貼ったあと Cursor を再起動し、Customize → MCPs で有効か、チャットのツール一覧に search_facilities が出るかを確認してください。スレッド作り直しは必須ではありません。

uv が無い場合の Python 常設: pip install 'ynosis-agent[mcp]' のあと command を ynosis-agent-mcp にする。

運営向け: PyPI 公開

cd packages/ynosis-agent
python -m build
twine upload dist/*

バージョンは pyproject.toml の version を上げてからビルドする。

Metadata

Release files for ynosis-agent 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ynosis-agent 0.2.1
File Size Uploaded
ynosis_agent-0.2.1.tar.gz 12.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ynosis-agent 0.2.1
File Interpreter ABI Platform
ynosis_agent-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.4 kB

Release files / ynosis_agent-0.2.1.tar.gz

Download URL ynosis_agent-0.2.1.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9a416254bb3b1c9658118e5f7ab749401e2d66c89f310a15a6c425c4a8d8192f
BLAKE2b-256 checksum
How to use checksums
9eedc88ad8807c97e809261e10f03671d836d04060bae6d629f5395e897fb21c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / ynosis_agent-0.2.1-py3-none-any.whl

Download URL ynosis_agent-0.2.1-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
194da21dc02cdd78e4075c8d3cb6f86cc96ea54f06abb5087234aae01e118a15
BLAKE2b-256 checksum
How to use checksums
d3d18cc08b88eba10c1e3d40f364fce1102f8ab5992c37a59275f4abc10537d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page