Skip to main content

A server to create drafts of X(twitter) posts, threads using LLMs and post directly from the chat.

Project description

x_mcp MCP server

A server to create drafts of X(twitter) posts, threads using LLMs and post directly from the chat.

Components

Resources

The server implements a simple note storage system with:

  • Custom note:// URI scheme for accessing individual notes
  • Each note resource has a name, description and text/plain mimetype

Prompts

The server provides a single prompt:

  • summarize-notes: Creates summaries of all stored notes
    • Optional "style" argument to control detail level (brief/detailed)
    • Generates prompt combining all current notes with style preference

Tools

The server implements one tool:

  • add-note: Adds a new note to the server
    • Takes "name" and "content" as required string arguments
    • Updates server state and notifies clients of resource changes

Configuration

[TODO: Add configuration details specific to your implementation]

Quickstart

Install

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

Development/Unpublished Servers Configuration ``` "mcpServers": { "x_mcp": { "command": "uv", "args": [ "--directory", "/Users/vidhupv/Desktop/x_mcp/x_mcp", "run", "x_mcp" ] } } ```
Published Servers Configuration ``` "mcpServers": { "x_mcp": { "command": "uvx", "args": [ "x_mcp" ] } } ```

Development

Building and Publishing

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package distributions:
uv build

This will create source and wheel distributions in the dist/ directory.

  1. Publish to PyPI:
uv publish

Note: You'll need to set PyPI credentials via environment variables or command flags:

  • Token: --token or UV_PUBLISH_TOKEN
  • Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with this command:

npx @modelcontextprotocol/inspector uv --directory /Users/vidhupv/Desktop/x_mcp/x_mcp run x-mcp

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

x_mcp-0.1.0.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

x_mcp-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file x_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: x_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.5

File hashes

Hashes for x_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 53bc959d71d4ab1c8e1968bee11afd0aee7052c54c8780e7a419bbac732c63d9
MD5 a50f8912f5d69f83010c28960c8f36a1
BLAKE2b-256 942d2c63b6ddf374458061f83c9a1b604dc0e1fc1ba00dbfbf50f05e9e607941

See more details on using hashes here.

File details

Details for the file x_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: x_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.5

File hashes

Hashes for x_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3bd1aa826bc109ec4ad2a5e8777251b53a07a04f7dc8b3446b74e3b01c66b668
MD5 85ce4c3ca9309e3172de7347277f5b60
BLAKE2b-256 adeb6c82df15295b202da24db391a51485d30f82a8aeb8aad64fd609bc8d1444

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page