https://github.com/dylibso/xtp-mcp-run-typescript-bindgen
XTP Bindgen template for mcp.run servers
https://github.com/dylibso/xtp-mcp-run-typescript-bindgen
Last synced: 11 months ago
JSON representation
XTP Bindgen template for mcp.run servers
- Host: GitHub
- URL: https://github.com/dylibso/xtp-mcp-run-typescript-bindgen
- Owner: dylibso
- License: bsd-3-clause
- Created: 2025-07-17T19:56:15.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-17T20:05:57.000Z (12 months ago)
- Last Synced: 2025-07-17T22:13:57.355Z (12 months ago)
- Language: EJS
- Size: 22.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# XTP Plugin Bindgen for mcp.run servers
> _Warning_: This is experimental and is still in the alpha phase. Changes will
> be made without warning. Please wait before you start writing new bindgens.
This repository houses the prototype for bingden for typescript plug-ins in XTP.
It's based on the [XTP Schema](https://docs.xtp.dylibso.com/docs/concepts/xtp-schema) as the
driving document. This document will be used to generate code and documentation
for plug-in systems and is specifically tailored to
[Extism](https://extism.org/) at the moment.
## Building
An XTP gen template is distributed as a zip file with a `plugin.wasm`,
`config.yaml`, and a `templates` directory of template files. To build this
"bundle" run the `bundle.sh` command:
```
./bundle.sh
```
To test you can use the XTP CLI and `plugin init`. You just need to point it at
a valid [XTP Schema](https://docs.xtp.dylibso.com/docs/concepts/xtp-schema)
file:
```
xtp plugin init --schema-file ./tests/schemas/fruit.yaml --template ./bundle --path myplugin -y
```
> _Note_: If you have not installed the xtp cli: curl
> https://static.dylibso.com/cli/install.sh | sudo sh