跳到正文
cccskills
免费在 GitHub 公开

mcp

Build, extend, review, test, or deploy Model Context Protocol (MCP) servers with the official C# SDK. Use for C#/.NET MCP server projects using ModelContextProtocol, ModelContextProtocol.AspNetCore, MCP tools, resources, prompts, Streamable HTTP, stdio, authorization, server-to-client interaction, task execution, or MCP Apps.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(40)

  • SKILL.md5.1 KB
  • agents/openai.yaml182 B
  • reference/apps.md8.3 KB
  • reference/cancellation.md3.9 KB
  • reference/capabilities.md5.1 KB
  • reference/completions.md6.3 KB
  • reference/concepts.md4.0 KB
  • reference/docker.md3.9 KB
  • reference/elicitation.md16.6 KB
  • reference/experimental.md4.0 KB
  • reference/filters.md22.1 KB
  • reference/getting-started.md8.3 KB
  • reference/httpcontext.md3.6 KB
  • reference/identity.md8.9 KB
  • reference/index.md1.4 KB
  • reference/list-of-diagnostics.md5.9 KB
  • reference/logging.md5.9 KB
  • reference/mrtr.md21.9 KB
  • reference/pagination.md4.4 KB
  • reference/ping.md1.3 KB
  • reference/progress.md4.6 KB
  • reference/prompts.md8.7 KB
  • reference/resources.md9.9 KB
  • reference/roadmap.md2.2 KB
  • reference/roots.md7.5 KB
  • reference/samples/elicitation-InteractiveTools.cs9.1 KB
  • reference/samples/elicitation-Program.cs3.8 KB
  • reference/samples/httpcontext-ContextTools.cs821 B
  • reference/samples/httpcontext-Program.cs634 B
  • reference/samples/logging-LoggingTools.cs1.5 KB
  • reference/samples/logging-Program.cs2.0 KB
  • reference/samples/progress-LongRunningTools.cs1.4 KB
  • reference/samples/progress-Program.cs1.3 KB
  • reference/sampling.md8.6 KB
  • reference/sdk-overview.md2.1 KB
  • reference/stateless.md78.3 KB
  • reference/tasks.md19.6 KB
  • reference/tools.md17.4 KB
  • reference/transports.md24.3 KB
  • reference/versioning.md6.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

C# MCP server

Build the smallest server that meets the requested transport and capability needs. Prefer the high-level hosting API and attribute discovery unless the project has a reason to use low-level ModelContextProtocol.Core APIs.

gatOS repository adaptation

gatOS is one of those explicit exceptions: gatOS.Mcp/SimMcpServer.cs owns a custom stateless, POST-only Streamable HTTP adapter and constructs official SDK primitives from McpRegistry. Keep that architecture unless the task explicitly changes the transport contract. In particular, preserve Host/Origin checks, no sessions or GET stream, request/cancellation bounds, protocol-clean structured errors, and coverage with a real official SDK client.

For gatOS tools, generated JSON Schema descriptions are an agent interface, not decoration. Every parameter needs an operation-aware [Description]; every multipurpose tool description must explain how its discriminator chooses value, values, token, and aux. Mark a tool destructive when any operation can irreversibly stage, ignite, undock, fire a decoupler, or perform a debug mutation. Update implementation/tests, SPEC_MCP.md, site/src/data/mcp-reference.ts, the affected public MCP pages, and .agents/skills/gatos/SKILL.md in lockstep.

Workflow

  1. Select a package and transport in getting started and transports.
  2. For HTTP, choose the session model before designing features. Start stateless; read stateless and stateful.
  3. Add the user-facing surface: tools, resources, and/or prompts.
  4. Pass CancellationToken through every cancellable operation. Read cancellation, progress, and capabilities.
  5. For client/user input on current Streamable HTTP, use MRTR, not deprecated server-to-client APIs.
  6. Apply identity, HTTP context, and filters, test with a real MCP client, then run build and tests.

Transport decision

NeedChoose
Local child process / desktop integrationstdio; protocol on stdout, logs on stderr.
Remote or containerized serverStreamable HTTP.
Horizontal scale, ordinary request/response toolsStateless Streamable HTTP.
Resource subscriptions, unsolicited notifications, or legacy server-to-client requestsStateful Streamable HTTP, with session affinity.
Legacy client compatibilitySSE only when required; it is legacy and stateful.

Reference map

NeedRead
Packages, minimal stdio/HTTP servergetting started
Transport, hosts, CORStransports
Full local SDK-documentation cataloguereference index
Stateless/stateful trade-offsstateless and stateful
Tool schemas, injection, output, errorstools
Static/template resources and subscriptionsresources
Prompts and completionsprompts
Filters, authorization, identityfilters, identity, HTTP context
Cancellation, progress, pagination, capability checkscancellation, progress, pagination, capabilities
Stateless-compatible input requestsMRTR
Sampling, elicitation, roots, loggingsampling, elicitation, roots, logging
Long-running task extensiontasks
Experimental interactive UIMCP Apps
Container deploymentDocker deployment
SDK support policy and experimental APIsversioning, experimental APIs, diagnostics

Non-negotiable checks

  • Keep stdio stdout protocol-clean; send logs to stderr.
  • Keep HTTP AllowedHosts exact. CORS is separate and only for intentional browser access.
  • Check optional client capabilities and negotiated protocol version before using a feature.
  • Do not use stateful-only behavior in a stateless HTTP handler.
  • Return useful, stable tool descriptions; validate untrusted input; throw McpException for expected protocol errors.
  • Do not expose secrets through results, logs, environment-printing tools, or inherited child-process environments.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

astro

免费

Reference for Astro — the core web framework the gatOS docs site (under site/) is built on. Use this when authoring or editing pages in site/, working with .astro/.md/.mdx files, content collections, the astro.config.mjs, or component/JSX-in-Markdown mechanics. Covers Astro component anatomy, using components in MDX, content collections, frontmatter, imports, expressions, and the build/dev commands — enough to work the site without leaving the repo. Pair with the `starlight` skill (the docs theme + its components) and the `tutorials` skill (the gatOS house style).

中文简介正在准备中。当前显示原文说明。

meow-sci/gatOS132026年10月11日 更新

bun

免费

how to use bun effectively for scripting and sqlite and more

中文简介正在准备中。当前显示原文说明。

meow-sci/gatOS132026年10月11日 更新

gatos

免费

Write scripts and programs against gatOS — the KSA mod that exposes live Kitten Space Agency simulation state as a 9P filesystem at /sim (also over HTTP /v1, MQTT, and an AI-oriented MCP server). Use this when asked to read game/celestial/vehicle telemetry, control vehicles (throttle, ignite, staging, attitude, burns, RCS, lights, docking), use game/debug controls (teleport, impulse kick, refuel, time-warp, switch vessel), direct the in-game camera / author cinematic shots and tracks, schedule timed command sequences, or write flight-computer / autopilot programs. Covers the full /sim catalog, the command model, KSA coordinate frames, and worked Bun/TypeScript + Rust examples.

中文简介正在准备中。当前显示原文说明。

meow-sci/gatOS132026年10月11日 更新

harmony

免费

Expert in use of Harmony Lib for runtime patching of dotnet C# code

中文简介正在准备中。当前显示原文说明。

meow-sci/gatOS132026年10月11日 更新

imgui

免费

ImGui is an immediate mode UI library. KSA uses ImGui for UI

中文简介正在准备中。当前显示原文说明。

meow-sci/gatOS132026年10月11日 更新

ksa

免费

detailed information about kitten space agency (KSA) game code, decompiled sources, modding patterns, architecture and best practices for working with mods and the game codebase

中文简介正在准备中。当前显示原文说明。

meow-sci/gatOS132026年10月11日 更新

查看 meow-sci 的全部技能

报告此技能的问题