npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

convai-character-mcp

v1.0.0

Published

MCP server for Convai — create and manage AI characters from Claude

Downloads

125

Readme

Convai MCP Server

Create and manage Convai AI characters directly from Claude — no dashboard needed.


For New Users: Quick Setup Guide

Step 1 — Get your Convai API key

  1. Go to convai.com and sign in (or create a free account)
  2. Open your dashboard and find API Keys in the settings/profile menu
  3. Copy your API key — you'll need it in Step 3

Step 2 — Find your Claude Desktop config file

On Mac:

  1. Open Finder
  2. Press Cmd + Shift + G
  3. Paste this path and press Enter:
    ~/Library/Application Support/Claude/
  4. Open the file named claude_desktop_config.json in a text editor (TextEdit, VS Code, etc.)

If the file doesn't exist yet, create it with {} as the content first.


Step 3 — Add the Convai MCP config

Paste this into claude_desktop_config.json, replacing your_api_key_here with the key from Step 1:

{
  "mcpServers": {
    "convai": {
      "command": "npx",
      "args": ["-y", "convai-mcp-server"],
      "env": {
        "CONVAI_API_KEY": "your_api_key_here"
      }
    }
  }
}

If the file already has other mcpServers entries, add the "convai": { ... } block inside the existing mcpServers object — don't replace the whole file.


Step 4 — Restart Claude Desktop

  1. Fully quit Claude Desktop (right-click the dock icon → Quit, or use the menu bar → Quit)
  2. Reopen Claude Desktop from your Applications folder or Dock
  3. Open a new chat

Step 5 — Test it!

In a new Claude chat, type:

List my Convai characters

Claude will call the Convai API and show your characters. If you don't have any yet, it will say so — that means it's working!


Troubleshooting

"I don't see any Convai tools"

  • Make sure you fully quit and reopened Claude Desktop (not just closed the window)
  • Check that the JSON in your config file is valid — use jsonlint.com to verify
  • Make sure your API key has no extra spaces

"Error: CONVAI_API_KEY is not set"

  • Double-check that "CONVAI_API_KEY" is inside the "env" block in your config

"API error 401 / Unauthorized"

  • Your API key may be incorrect or expired — regenerate it from the Convai dashboard

All Available Tools

| Tool | What it does | Required inputs | |------|-------------|-----------------| | create_character | Create a new AI character | name, backstory | | get_character | Get full details of a character | character_id | | update_character | Update name, backstory, or voice | character_id | | list_characters | List all your characters | (none) | | delete_character | Delete a character | character_id | | add_knowledge | Add knowledge to a character | character_id, knowledge_text | | list_knowledge | List a character's knowledge entries | character_id | | set_narrative_design | Set role, emotional range, speaking style | character_id | | clone_character | Clone a character with a new name/backstory | source_character_id, new_name |


Example Prompts

Once connected, just describe what you want — Claude picks the right tool:

"Create a wise elven librarian named Sylara with a female voice who speaks in archaic formal english"

"Add knowledge about the Forbidden Archives to Sylara"

"Give Sylara a narrative design as a Guide NPC with a calm to mysterious emotional range"

"Clone Sylara into a new character called The Shadow Librarian with a darker, more paranoid personality"

"List all my characters"

"Delete the character with ID abc123"


Prerequisites (for local/dev setup)

  • Node.js 18+
  • A Convai account and API key
git clone https://github.com/noyonika25/convaimcp
cd convaimcp
npm install
cp .env.example .env
# Edit .env and add your CONVAI_API_KEY
node index.js