[Integration]: OnlineCompiler.io (run and judge code from a Haystack Agent over MCP)
メンテナーはふだん 13 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- ai, documentation
調査の方向性
The requested change is a documentation listing for the OnlineCompiler.io integration, with a working example in the issue body. Read the existing Unstructured Transform MCP and Prior Labs pages for the expected format, then prepare the OnlineCompiler.io page using the details and examples here. Done means the integration is listed consistently with those pages; the draft page was in #752 and is to be reopened as a new pull request after approval.
索引モデルが issue の本文から書いたものです。
説明
Stage
Ready: integration exists and works, proposing to list it
Integration or project name
OnlineCompiler.io
Integration type
Tool Integration
Published package or repo (if it exists)
https://pypi.org/project/onlinecompiler-mcp/ and https://github.com/onlinecompiler-io/onlinecompiler-mcp (used through mcp-haystack's MCPToolset; no new package)
Need or proof of use
A Haystack Agent or pipeline can run untrusted code in 46 languages and judge it against test cases through mcp-haystack, with no sandbox to host: each run happens in a fresh sandbox with no network on our side.
Tested on 21 Nov 2026 with haystack-ai 3.5.0, mcp-haystack 2.1.2 and mcp 2.3.0, against the live hosted server. This snippet from the draft page grades a submission against two test cases and returns "verdict": "accepted", "score": 100.0 and one entry per test:
from haystack.utils import Secret
from haystack_integrations.tools.mcp import MCPToolset, StreamableHttpServerInfo
toolset = MCPToolset(
server_info=StreamableHttpServerInfo(
url="https://api.onlinecompiler.io/mcp",
token=Secret.from_env_var("ONLINECOMPILER_API_KEY"),
),
tool_names=["run_tests"],
eager_connect=True,
invocation_timeout=60,
)
run_tests = toolset.tools[0]
result = run_tests.invoke(
compiler="python-3.14",
code="a, b = map(int, input().split())\nprint(a + b)",
tests=[
{"input": "2 3", "expected_output": "5"},
{"input": "10 -4", "expected_output": "6"},
],
)
print(result)
The same day we also ran the page's other blocks: the hosted server's tool list, the server run locally with uvx onlinecompiler-mcp, and the Agent example (with a scripted chat model standing in for the LLM).
Short description
Lets a Haystack Agent run code and check it against test cases: agents that verify the code they write before answering, and grading pipelines that judge a program against hidden tests. The MCP server has four tools: list_compilers, run_code, run_tests (a verdict per test case and a score) and judge_problem (a problem stored in the user's account, with a signed receipt). OnlineCompiler.io is a hosted service with a free tier; we make it and maintain the MCP server. The page would be documentation only, like the Unstructured Transform MCP and Prior Labs pages. This replaces #751; the draft page is in #752, which we'll open again as a new PR once this is approved.
- 主要言語
- Python
- スター
- 114
- フォーク
- 324
- 平均マージ
- 7日 2時間
- マージ済み PR(30日)
- 13
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
deepset-ai/haystack-integrations のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
deepset-ai/haystack-integrations#788 ·
メンテナーはふだん 13 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
deepset-ai/haystack-integrations#785 ·
メンテナーはふだん 13 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
deepset-ai/haystack-integrations#783 ·
メンテナーはふだん 13 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
deepset-ai/haystack-integrations#782 ·
メンテナーはふだん 13 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
deepset-ai/haystack-integrations#780 ·
メンテナーはふだん 13 日以内に返信
deepset-ai/haystack-integrations の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
micronaut-projects/micronaut-core#14585 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
langgenius/graphon#443 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
[BUG]: Management endpoints /v1/memory/stats and /v1/memory/counts bypass API key authenticationオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
docling-project/docling-serve#788 ·
メンテナーはふだん 1 日以内に返信
-
Mend: dependency security vulnerability untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
opensearch-project/cross-cluster-replication#1805 ·
メンテナーはふだん 1 日以内に返信