Skip to main content
Glama

Kobold MCP Server

kobold_token_count

Measure token count in text to manage data length and optimize compatibility with text generation models and APIs.

Instructions

Count tokens in text

Input Schema

NameRequiredDescriptionDefault
apiUrlNohttp://localhost:5001
textYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "apiUrl": { "default": "http://localhost:5001", "type": "string" }, "text": { "type": "string" } }, "required": [ "text" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PhialsBasement/KoboldCPP-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server