Skip to content

About

TypeScript reference for semantic MCP tool surfaces backed by a remote observer API.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

agent-code-observer-mcp

A small TypeScript reference for semantic MCP tool surfaces backed by a remote observer API.

This repository is about one specific pattern:

  • keep business semantics in one public or semi-public observer surface
  • let both internal agents and external MCP clients consume the same contracts
  • keep local bridges thin

It is part of a small public code series:

  • agent-code-playbook-kit for process IR and compiled runtime playbooks
  • agent-code-runner-sandbox for bounded execution primitives
  • agent-code-observer-mcp for semantic tool surfaces and MCP bridging
  • agent-code-a2ui-contracts for structured rich-answer contracts
  • org-aware-agents for the docs-first architecture layer

What is included

  • src/types.ts — observer capabilities and tool types
  • src/capabilities.ts — capability normalization helpers
  • src/remote-observer-client.ts — minimal remote observer client
  • src/stdio-bridge.ts — stdio MCP bridge for a remote observer surface
  • examples/ — public-safe capabilities example

Why this exists

Many agent stacks duplicate tool semantics across:

  • prompts
  • backend APIs
  • local wrappers
  • MCP adapters

This repository shows a cleaner direction:

  • one semantic surface
  • thin adapters
  • shared tool descriptions for different clients

Quick start

npm install
npm test
npm run build
npm run demo

Bridge usage

The stdio bridge expects:

  • ANAVI_PUBLIC_API_BASE_URL
  • ANAVI_MCP_BEARER_TOKEN
  • optional ANAVI_MCP_ORGANIZATION_ID

Run it with:

tsx src/stdio-bridge.ts

Related repos

About

TypeScript reference for semantic MCP tool surfaces backed by a remote observer API.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages